Skip Headers

# toplink-ejb-jar.xml File

Previous

Next

The `toplink-ejb-jar.xml` file is used only in CMP projects. The TopLink runtime uses properties set in the `<``J2EE container``>-ejb-jar.xml` file (see "<J2EE-Container>-ejb-jar.xml File") to locate the `toplink-ejb-jar.xml` file and read it in.

Note:

If you are using EJB 3.0, you can use annotations to specify most of what you formerly specified in the `toplink-ejb-jar.xml` file. To override annotations or specify options not supported by annotations, you can still provide a `toplink-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

The purpose of `toplink-ejb-jar.xml` file depends on the type of application server you are using:

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

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

- IBM WebSphere Application Server and the toplink-ejb-jar.xml File