Previous Topic Next topic Print topic


EJB Jar File

Restriction: This topic applies only when the Enterprise Server feature is enabled.
When you generate an EJB, it is packaged into a Java archive file (myService.jar) together with the following files:
ejb-jar.xml Generic deployment descriptor, defining the EJB
myServiceBean.class Bean class for the EJB
myServiceHome.class Home interface for the EJB
myService.class Remote interface for the EJB
myRecord.class custom record, if needed by the EJB
manifest.mf Manifest describing this .jar file
*.xml, such as weblogic-ejb-jar.xml For some Java application servers (such as WebLogic), a deployment descriptor for deploying the EJB to that application server

The source code for the EJB classes are generated in the directory com/mypackage/myService .

Previous Topic Next topic Print topic