Package and Deploy EJB applications
EJB3 bean classes are packaged in regular JAR files.
The javabeans configuration can be defined with annotations or using a deployment descriptor ejb-jar that will be located under META-INF folder:
- META-INF
- ejb-jar.xml
The configuration specified in the descriptor will override the configuration specified by annotations.
The JAR generated will be placed under lib folder in the WAR generated for the application.
- WAR
- WEB-INF
- lib
- ejbModule.jar
Example of deploying an EJB project in a Glassfish server using Eclipse in this post .
- ejb-jar.xml
- WEB-INF
- lib
- ejbModule.jar
OCEJBCD (SCBCD) - 1Z0-895 - Enterprise JavaBeans Developer Certification
No comments:
Post a Comment