B.2. General structure
The deployment descriptor ejb-jar.xml has three basic XML elements, each of which has nested subelements. These elements are enterprise-beans, relationships, and assembly-descriptor. Here is an outline of this basic structure (the text in brackets is a description of what is to be found in each element, not part of the XML):
<ejb–jar>
(... information about the package ...)
5 <enterpise–beans>
(...information about the EJBs...)
</enterpise–beans>
<relationships>
10 (... information about the
associations between EJBS...)
</relationships>
<assembly–descriptor >
15 (...security and transaction
...)
</assembly–descriptor >
</ejb–jar>
At the top level of the ejb-jar element, there is optional information about the name of ...
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.