11.5. Deployment Descriptors

Every Enterprise JavaBean component has a set of deployment descriptors contained in a deployment descriptor file in XML format. This allows a developer to specify the bean's transactional and security attributes declaratively. The container reads the deployment descriptors and enforces transaction and security constraints, state management, lifecycle, and persistence.

11.5.1. The Material Request Bean

One of the benefits of using a tool like JDeveloper is that it helps you to create the XML deployment descriptor through a series of wizards. In the case of the Material Request Bean, JDeveloper is used to create deployment descriptors for transaction control, EJB relationships, and the deployment environment.

Transaction ...

Get J2EE™ Technology in Practice: Building Business Applications With the Java™ 2 Platform, Enterprise Edition 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.