Creating application.xml

Oracle Application Server uses a global application.xml file which contains the overall defaults that apply to any application deployed to the server. This global file is located in the application server's <ORACLE_HOME>/j2ee/home/config.

For testing purposes when running in the JDeveloper embedded OC4J server, you may want to create a distinct application.xml which applies to a particular application and JDeveloper project. This file defines application-specific information such as security roles before you deploy the Enterprise Archive (EAR) profile to the embedded OC4J server.

The application.xml file specific to the application is created in the following location:

<jdev_install>/jdev/system/oc4j-config/applications/<appname>/META-INF/application.xml

To create an application.xml for the selected project:

  1. In the Navigator, select the project_icon <projectname>.jpr in which you want to create the application.xml.
  2. Choose File | New to open the New Gallery.
  3. In the Categories tree, expand General and select Deployment Descriptors.
  4. In the Items list, double-click J2EE Application Deployment Descriptor (application.xml).
  5. Click OK.
  6. The newly created application.xml is opened in the Code Editor. Edit this file as appropriate.

See also: "Oracle Application Server Containers for J2EE User's Guide" for more information about creating this file.

Note:

<jdev_install>/bc4j/lib


Related topics

Creating OC4J Deployment Files