Oracle® Containers for J2EE Enterprise JavaBeans Developer's Guide 10g (10.1.3.5.0) Part Number E13981-01 |
|
|
View PDF |
This section describes the following:
For more information, see "What is the ejb-jar.xml File?".
For EJB 2.1 only, you can automatically generate the ejb-jar.xml
file during migration (see "Migrating to the TopLink EJB 2.1 Persistence Manager"). After generation, you can use the TopLink Workbench to customize and reexport this file (see "Using TopLink Workbench").
When you deploy an EJB 3.0 application with one or more annotations, OC4J will write its in-memory ejb-jar.xml
file to the same location as the orion-ejb-jar.xml
file in the deployment directory: <
ORACLE_HOME
>/j2ee/home/application-deployments/my_application/META-INF
.
This ejb-jar.xml
file represents configuration obtained from both annotations and a deployed ejb-jar.xml
file (if present).
You can use JDeveloper to generate and update the ejb-jar.xml
file.
For more information, see "Using JDeveloper".