You can employ applets in situations where sophisticated users need fine-grained security or situations where the browser is the de facto client.
None of these technologies are mutually exclusive. It is fairly easy to mix and match in the best interest of the application requirements.
We started where the Java revolution began -- Java applets. Middle-tier technologies, like servlets and JSPs, enabled client-side presentation and solved some issues with applets. However, with servlets and JSPs, the user interaction was confined to the hosted environment. Java Web Start technology overcomes this limitation while still retaining most of the advantages of the other technologies used hitherto to design Web clients.
We looked at several examples illustrating Java Web Start's different features. Java Web Start and JNLP offer a powerful paradigm to design Web clients by providing a rich user interaction without confining functionality to a browser. Some combined approaches were mentioned as well, which might be applicable to certain categories of applications.
Learn more about this topic
- Comprehensive Java Web Start information
- Java Web Start developer guide
- Java Network Launching Protocol (JNLP) specifications
- Third-party products based around JNLP specifications and Java Web Start
- Java Community Process
- For more on client-side application deployment strategies, read "Launching Into Java," Tal Liron (JavaWorld, September 2000)
- Raghavan Srinivas's "Java Security Evolution and Concepts" series in JavaWorld:
- "Part 1Learn computer security concepts and terms in this introductory overview" (April 2000)
- "Part 2Discover the ins and outs of Java security" (July 2000)
- "Part 3Tackle Java applet security with confidence" (December 2000)
- "Part 4Learn how optional packages extend and enhance Java security" (May 2001)
- For over 100 insightful Java tips from some of the best minds in the business, visit JavaWorld's Java Tips index
- Sign up for the JavaWorld This Week free weekly email newsletter to learn what's new at JavaWorld: http://idg.net/jw-subscribe