The Web Start page enables you to configure your application so that
the application can be deployed using Java Web Start. Java Web Start
enables users of your application to download and launch the application
by clicking a link in a web browser.
You open the Standard Java SE Project Properties dialog box by right-clicking
any and choosing Properties.
The Web Start page has the following properties, which are used in
the creation of the JNLP file. The JNLP file is
used to launch the application.
Enable Web Start. If selected, the IDE creates
the necessary artifacts to make the application deployable
with Java Web Start when you build the application. These
artifacts can be found in the application's dist folder.
Icon. The icon to be used to represent the application on the
user's system, such as on the desktop.
Codebase. A URL representing the location of the application.
This field is a represented by a combo box, which
from which you can select Local Execution, Web Deployment, or
User Defined. For Local Execution and Web Deployment, the URL is
determined automatically for you.
If you select Web Deployment, $$codebase is shown as the
URL. When you run the application, the application is served by special
servlet in which $$codebase is replaced with the real location of the
application.
Allow Offline. If selected, the user does not need a network
connection to run the application.
Extension Resources. Click the Extension Resources button to specify dependencies on the JNLP files of additional resources (APIs, libraries, or system properties) that should be used as part of your application when it loads through Java Web Start. To specify an extension resource, enter the following attributes:
Href - a URL to a JNLP file of the resource you want to add. For example, http://somesite.org/mylib.jnlp
Name (Optional). An arbitrary name of the extension resource.
Version (Optional). A version of the extension resource.
Self-signed. If selected, the application is signed using
a certificate that is generated when the project is built. This
certificate is not certified by any Certification Authority.
Self-signing an application enables the application to do things such as
write files to disk and access the network. If you select the Self-signed option, choose one of the following options that determine how to handle the signed and unsigned components in your Java Web Start applications and applets:
Enable Software Protections. If selected, a warning dialog box will be displayed during loading your Java Web Start application with mixed components (signed and unsigned).
Trusted Only. Use this attribute for applications and applets that do not require unsigned components. All classes and resources in the application or applet must be signed. A warning dialog will not be displayed and an application or applet that loads a jar file containing this attribute will not load any untrusted classes or resources. This measure prevents a signed application or applet from being re-purposed with unsigned components.
Trusted Library. Use this attribute to allow unsigned components to be mixed with signed components (for example, signed libraries) without a warning dialog being displayed. All classes and resources in a jar file containing this manifest attribute must be signed. Trusted library code is loaded into a separate dedicated class loader which is unique to the application or applet. This ensures that the trusted library code cannot be replaced.
Application Descriptor. If selected, the JNLP file is
generated with the application-desc element. The application-desc
element will point to the project's main class.
Applet Descriptor. If selected, the JNLP file is
generated with the applet-desc element. The applet-desc
element will point to the applet that you specify in the Applet Class
drop-down list. If you select this option, you can click the Applet
Parameters button to change the height and width of the applet and
add new parameters.
Component Descriptor. If selected, the project can be called
as a resource from the JNLP file of another application.