Creating a Deployment Profile for Applets

In JDeveloper, deploying a standalone applet for deployment involves creating a J2EE web archive (WAR) file. The applet deployment process involves these steps:

To create a deployment profile for applets:

If you chose not to create a deployment profile for the applet when the Applet HTML file was created, you can do so as follows:

  1. In the Navigator, select the project_icon <projectname>.jpr in which you want to create the WAR deployment profile.
  2. Choose File | New to open the New Gallery.
  3. In the Categories tree, expand General and select Deployment Profiles.
  4. In the Items list, double-click WAR File - J2EE Web Module.
  5. Click OK.
  6. Specify a location for the <webapp_name>.deploy profile or accept the defaults.
  7. Click Save.
  8. The WAR Deployment Profile Settings panel displays. Click the following page nodes and configure the settings as appropriate:
    1. Applet Options Page: to include an applet in your deployment profile.
    2. Applet Classes Subpage
    3. Applet Archives Subpage
    4. (Optional) If you are creating a web application that also includes servlets and JSPs, click the other page nodes in the WAR Deployment Profile Settings panel and edit the settings as appropriate.
  9. Click OK when you are done.

    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.

  10. By default, you can run and debug the WAR components in JDeveloper's embedded OC4J server to test the applet. 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.
  11. (Optional) If you want to edit either the WAR_dep_profile_icon <webapp>.deploy profile or its corresponding web.xml deployment descriptor settings, right-click its icon and choose Settings.


Related topics

Debugging an Applet

Running an Applet