Packaging an Applet for Deployment

A standalone applet is packaged as a web archive (WAR) file which contains the applet, the Applet HTML file, as well as the standard J2EE web deployment descriptor, web.xml and possibly target-specific deployment descriptors, as well. Once you've created the deployment profile and the appropriate deployment descriptor files, you can deploy the application to an application server, or as an archive file.

To package a web application for deployment:

  1. Create a WAR File deployment profile for your project. A profile may have already been created for your project. If you wish to deploy to multiple targets, create a separate profile for each.

  2. Add a web.xml deployment descriptor to your project, if it is not already present. Normally, this file is created with the WAR File deployment profile.

Notes:


About J2EE Deployment
About J2EE Archive Formats
About Deployment Profiles
About Deployment Descriptors
Packaging J2EE Applications
Deploying J2EE Applications
Deploying Applications to J2EE Application Servers

 

Copyright © 1997, 2004, Oracle. All rights reserved.