| Oracle® Containers for J2EE Enterprise JavaBeans Developer's Guide 10g (10.1.3.1.0) Part Number B28221-02 |
|
|
View PDF |
When you deploy an EJB 3.0 application with one or more annotations, OC4J will automatically 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).
When you deploy an EJB 2.1 application, to preserve generated wrapper code, you musts set system property KeepWrapperCode (see "Debugging Generated Wrapper Code").
For more information, see "Troubleshooting an EJB Application".