Skip Headers

# <J2EE-Container>-ejb-jar.xml File

Previous

Next

The contents of the `<J2EE-Container>``-ejb-jar.xml` file depend on the container to which you deploy your EJB. To create this file, use the tools that accompany your container.

In most cases, the `<J2EE-Container>``-ejb-jar.xml` file integrates with TopLink without revision. However, in some cases, you must make some TopLink-specific modifications.

Note:

If you are using EJB 3.0, you can use annotations to specify most of what you formerly specified in the `<J2EE-Container>``-ejb-jar.xml` file. To override annotations or specify options not supported by annotations, you can still provide a `<J2EE-Container>``-ejb-jar.xml` file in your EJB 3.0 application. For more information on what annotations are currently supported, see Oracle Containers for J2EE Enterprise JavaBeans Developer's Guide.

For more information, see the following:

- OC4J and the orion-ejb-jar.xml File

- BEA WebLogic Server and the weblogic-ejb-jar.xml File