Creating Java Client Web Archive for Java Web Start

You can use JDeveloper's J2EE web deployment process to set up the web server before downloading and running the application using Java Web Start.

Once the application resides on the web server, it becomes very easy to maintain. Java Web Start takes care of identifying and downloading application updates each time the user runs the application.

To create Java client applications for deployment to the web server:

  1. Create a simple JAR archive of your Java client application.
  2. Create a Web Start JNLP Definition for Java Clients to generate the JNLP file and HTML file for use with Java Web Start.
  3. In the Navigator, select the project_icon <projectname>.jpr in which you want to create the WAR deployment profile.
  4. Choose File | New to open the New Gallery.
  5. In the Categories tree, expand General and select Deployment Profiles.
  6. In the Items list, double-click WAR File - J2EE Web Module.
  7. Click OK to create a WAR file which contains the JNLP file, the simple JAR file, and the HTML file.
  8. Specify a location for the <webapp_name>.deploy profile or accept the defaults.
  9. Click Save.
  10. The WAR Deployment Profile Settings panel displays. Configure the settings for each page as appropriate. For more information, see Creating a Deployment Profile for Web Applications (WAR).

    The newly created WAR_dep_profile_icon <webapp>.deploy deployment profile and its corresponding web.xml deployment descriptor icons appear in the Navigator below the specified project.

  11. To deploy, see Deploying a Java Client Web Archive for Java Web Start.
  12. (Optional) If you want to edit either the WAR_dep_profile_icon <webapp>.deploy profile or the web.xml deployment descriptor settings, right-click its icon and choose Settings.

By default, you can run and debug the WAR components in JDeveloper's embedded OC4J server to test the application. However, when you are ready to deploy the resulting WAR or EAR to the target application server, make sure to create an application server connection.

Notes:


About Java Web Start
About the Embedded OC4J Server

Running Applications and Applets with Java Web Start in JDeveloper