Skip Headers

Oracle® Containers for J2EE Enterprise JavaBeans Developer's Guide 10g Release 3 (10.1.3) B14428-01 |
| Home | Solution Area | Contents | Index

Previous | Next |

# Configuring the ejb-jar.xml File

This section describes:

- Creating ejb-jar.xml During Migration

- Creating the ejb-jar.xml File at Deployment Time

- Creating ejb-jar.xml with JDeveloper

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 Persistence Manager"). After generation, you can use the TopLink Workbench to customize and re-export 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".