Packaging a Web Application for Deployment

A J2EE web module is packaged as a web archive (WAR) file which contains one or more web components (servlets, JSPs) 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.

If your web application uses business components, see Packaging an ADF Business Components Web Application for Deployment .

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.

  3. If the deployment target is Oracle Application Server or a standalone OC4J server, add an orion-web.xml deployment descriptor to your project, if it is not already present.


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

 

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