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:
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.
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:
If you encounter problems when deploying a Swing applet (JApplet), for example, the error "Class not found" is displayed, this may indicate that JDeveloper cannot locate the Swing libraries. Your clients may need to use Sun's J2SE browser plugin or bundle the Swing libraries for JVMs version 1.1 with your applet.
Deployed applet files must reside in a separate location from any other web application files you've deployed.
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.