Both applets and Java Web Start applications are considered Rich Internet
Evaluate the following characteristics of applets and Java Web Start
applications to decide how to deploy your RIA.
- Applets run in the context of a browser.
- Applets have access to session cookies and persistent cookies.
- Applets can interact with the web page that they are embedded in. Applets
can traverse and manipulate the Document Object Model of the web page and interact
public methods and variables of an applet.
- Applets can be launched using Java Network Launch Protocol (JNLP). When
launched using JNLP, unsigned applets are allowed access to persistent storage,
download control, file I/O, and more. Applets launched using JNLP have
capabilities that are comparable to that of a Java Web Start application.
Applets can also be launched without JNLP, in which case, their capabilities
might be limited.
- Applets can request a particular version of the Java Runtime Environment software
Java Web Start applications
- Java Web Start applications are launched from a web page the first time.
Subsequently, they may be re-launched from the web page or from a desktop shortcut.
- Java Web Start applications do not run in the context of a browser. The
persistent cookies only.
- Java Web Start applications are allowed access to persistent storage, file I/O,
and other client related services.
- Java Web Start applications can request a particular version of the Java Runtime Environment software