Editing Deployment Descriptors

Once a Java2 Enterprise Edition (J2EE) module deployment profile is created, JDeveloper also auto-generates an associated deployment descriptor. Application components are packaged and deployed to J2EE containers using standard archive formats along with the J2EE and/or the OC4J-specific application deployment descriptor(s). The deployment descriptor information contains all of the declarative data required to deploy the components as well as the assembly instructions that describe how the components are composed into an application. You may also choose to manually create your own deployment descriptors rather on using the auto-generated version. In either case, you may wish to make modifications to the deployment descriptor, for example to add or delete elements in the file. Deployment descriptors appear in the Navigator below the specified project.

To edit deployment descriptors:

  1. In the Navigator, right-click the deployment descriptor icon corresponding to the file you want to edit.
    The J2EE module deployment descriptor icons and names display as follows in the Navigator below the project:
  2. Choose Settings from the context menu.

    Notes:

  3. The appropriate deployment descriptor dialog is displayed by default. Click the tree options in the left frame to edit the deployment descriptor settings as required.

Note:


Related topics
About the Deployment Process
About J2EE Applications and How They Are Packaged and Deployed
Editing orion-ejb-jar.xml
Editing weblogic-ejb-jar.xml
OC4J Deployment Application Directory Structure
List of J2EE Deployment-Related References
Ways to Deploy J2EE Applications