The Deployment Descriptor

As we learned in the previous chapter, the EJB deployment descriptor (DD) is an XML document that provides configuration, deployment, and assembly information on EJB components. J2EE-compliant application servers must provide support for DDs.

The DD provides basic information about the EJB components, the beans being deployed. This information includes the name of the bean and the collection of classes that comprise the bean. If the EJB is a session bean, the DD must indicate whether or not the bean is stateful or stateless.

Environment entries can also be made in the DD. These values can be retrieved (but not modified) by beans that have been invoked within the container. The entire DD for the EJBs in this chapter is ...

Get J2EE™ and Beyond: Design, Develop, and Deploy World-Class Java™ Software 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.