The ejb-jar file MUST CONTAIN, either by inclusion or by reference (Class-Path attribute in the Manifest file), the class files of each enterprise bean as follows:
The enterprise bean class.
The enterprise bean home and component interfaces.
The primary key class if the bean is an entity bean.
All the classes and interfaces that each enterprise bean class and the home and component interfaces depend on, except J2EE and J2SE classes.
The Application Assembler MUST NOT package the stubs of the EJBHome and EJBObject interfaces in the ejb-jar file.
Visit http://java.boot.by for the updates.