• 相比Flash,为什么Applet不流行?


    转载一篇文章,从一定程度上说明了原因。

    zz from http://weblogs.java.net/blog/joconner/archive/2008/02/java_applets_no.html 

    Java applets not viable for this application?

    Posted by joconner on February 22, 2008 at 10:10 AM PST

    I've been working with a company that creates a chat system that helps companies sell more of their products online. The backend is all Java, complete with Spring, servlets...all good Java stuff. The frontend is...well, it's Flash.

    Preferring Java everywhere when possible, I asked about the Flash choice on the customer-facing app -- the actual chat client. The conversation went something like this:

    John:Wow, this product uses Java everywhere except on the front, where the customer actually interacts with it. Why choose Flash there?

    Dev mgr:Well, Flash was just easy. It was simple to use for such a simple UI too.

    John: I see, but it's pretty easy to do that chat UI in Java too. Swing's layout managers are easy now, particularly if you use an IDE like NetBeans to layout the UI.

    Dev mgr: That may be true, but the choice is based on more than just ease of creating the UI.

    John: Yeah? So what's that?

    Dev mgr: Flash is on every client browser. We don't have to install the runtime.

    John: Java should be there too, right? Most PC manufacturers include it.

    Dev mgr: Maybe, but we know Flash will be there. Flash is all over the web, and chances are that a customer has the runtime already. If they don't, the download and install is fast and easy.

    John: OK, but Java will also install easily.

    Dev mgr: But Java takes so long to install. It's too big.

    John: I don't know if that's so true anymore. There's been a lot of work to make the runtime smaller and more compartmental. So you only download what you need.

    Dev mgr: What we need is something very, very simple. A very simple UI with simple functionality to relay chat text. Flash does the job well.

    The conversation continued...but I didn't get too far. Maybe Flash does do applets better than Java? Working with Sun for so long, I just naturally imagined that Java was everywhere and that everyone else loved it too. I've always been able to make things work...but apparently not everyone else has. The download size never bothered me...but it does bother some others.

    Additionally, I find that perception is as important as reality. So what if Java is now faster, leaner, and great working within browsers? Somehow it doesn't matter. The old perception is still out there -- that it's slow, huge, and difficult to work with in a browser. It's amazing to find out that some just don't see Java as their solution in that space anymore.

    I called a few friends who put together consumer-oriented websites. They use Flash too. What about Java? Sure...all on the back end business logic. But what about applications that the customer will use? If they're embedded in the browser, they're using Flash. Wow.

    So, how would you approach this? What does the Java community need to do to fight back old perceptions? Why is Flash so much more popular in browser based applications? And how can we get Java there instead? 

  • 相关阅读:
    MySQL基础之 逻辑运算符
    MySQL基础之 如何删除主键
    MySQL基础之 AUTO_INCREMENT
    MySQL基础之 支持的数据类型
    TiDB数据库集群安装以及注意事项
    PgSQL基础之 pgsql与mysql的简单区别
    PgSQL基础之 安装postgresql数据系统
    SPRING IN ACTION 第4版笔记-第五章BUILDING SPRING WEB APPLICATIONS-003-示例项目用到的类及配置文件
    SPRING IN ACTION 第4版笔记-第五章BUILDING SPRING WEB APPLICATIONS-002-Controller的requestMapping、model
    SPRING IN ACTION 第4版笔记-第五章Building Spring web applications-001-SpringMVC介绍
  • 原文地址:https://www.cnblogs.com/daition/p/1734445.html
Copyright © 2020-2023  润新知