Skip Headers
Oracle® Containers for J2EE Enterprise JavaBeans Developer's Guide
10g (

Part Number E13981-01
Go to Documentation Home
Go to Book List
Book List
Go to Table of Contents
Go to Index
Go to Feedback page
Contact Us

Go to previous page
Go to next page
View PDF

Configuring the ejb-jar.xml File

This section describes the following:

For more information, see "What is the ejb-jar.xml File?".

Creating ejb-jar.xml During Migration

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").

Creating the ejb-jar.xml File at Deployment Time

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).

Creating ejb-jar.xml With JDeveloper

You can use JDeveloper to generate and update the ejb-jar.xml file.

For more information, see "Using JDeveloper".