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:
application.xml
. 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:
application.xml
file also contains
a listing of the J2EE application runtime files and sets the classpath to
these files. The BC4J runtime files are located in your JDeveloper installation
directory:
<jdev_install>/bc4j/lib