F Uniform deployment —Web Start makes it possible to distribute your desktop
application and its resources using a uniform user experience. Once the application
is packaged for Web Start distribution, it can be deployed wherever the desktop Java
runtime is supported.
F Browser-based provisioning —with Web Start, applications can be automatically
downloaded and installed using a web browser pointing to a URL. A properly
installed JRE will automatically launch the Web Start runtime when a JNLP file
is accessed through the browser.
F Seamless integration —after the initial install, applications are cached locally on the
user's machine. It is possible to have Web Start create a program or launch menu
shortcuts for the supported OS.
F Automatic update —Web Start will automatically check for updates when the user
starts the application.
F Security —by default, unsigned applications installed with Web Start are restricted
from accessing local network and file resources. As part of the application installation
process provided by Web Start, the user can give permission to allow an application
to access those resources.
F Java Web Start is part of the JRE and requires no additional download from the user.
For further details on Java Web Start, see
F Building and packaging your app using an IDE
F Building and packaging your app with javafxpackager
Packaging your app as an applet
The Java applet is a precursor to today's rich internet browser-embedded clients. While the
applet has had its share of challenges, the new Java Plugin architecture, introduced in JDK
1.6u10, was completely rewritten to make applets a viable alternative to Flash and AJAX by
allowing developers to create rich client applications that run on the Java Virtual Machine.
In this recipe, we will see how to build and distribute JavaFX desktop applications as applets
using the tools included in the JavaFX SDK.