B.3. enterprise-beans element

This is the only element that is mandatory, although in practice there is always an assembly-descriptor element as well. This element contains subelements describing each EJB in the package. For example:

          (... information about session EJB 1 ...) 
 5      </session> 
          (... information about entity EJB 1 ...) 
10        (... information about entity EJB 2 ...) 
          (... information about message–driven EJB 1 ...) 
15    </enterpise–beans> 

There can be any number of entity elements, any number of session elements, and any number of message-driven elements.

B.3.1. session element

This element describes a session EJB. There ...

Get Applied Enterprise JavaBeans™ Technology now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.