Skip Headers

# EJB JAR

Previous

Next

In this type of application, the EJB JAR file specifically services both session and entity beans. It includes the following:

- The home and remote, and all implementation code for all mapped beans in the application

- All mapped non-EJB classes from the TopLink Workbench project

- The home and remote, and all implementation code for any session beans included in the application

- Helper classes that contain TopLink amendment methods, and any other classes the application requires

Store the following XML files in the EJB JAR `\meta-inf` directory:

- ejb-jar.xml File

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

Because the EJB JAR does not contain entity beans with container-managed persistence, its `orion-ejb-jar.xml` file must not contain `persistence-manager` or `pm-properties` entries.

For more information, see "Configuring persistence-manager Entries".