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:
- In the Navigator, select the
<projectname>.jpr in which you
want to create the WAR deployment profile.
- Choose File | New
to open the New Gallery.
- In the Categories tree, expand General
and select Deployment Profiles.
- In the Items list, double-click WAR
File - J2EE Web Module.
- Click OK.
- Specify a location for the
<webapp_name>.deploy
profile or accept the defaults.
- Click Save.
- The WAR Deployment Profile Settings panel displays.
Click the following page nodes and configure the settings as appropriate:
- Applet Options Page:
to include an applet in your deployment profile.
- Applet Classes Subpage
- Applet Archives Subpage
- (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.
- Click OK when you are done.
The newly created
<webapp>.deploy deployment profile
and its corresponding web.xml
deployment descriptor icons appear
in the Navigator below the specified project.
- 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.
- (Optional) If you want to edit either the
<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