Configuring Container-Managed Enterprise Components

Unlike regular client applications, enterprise components (EJBs) provide support for declarative transactions. Transactional attributes are associated with the component methods at deployment time, rather than being explicitly demarcated in the code.

The Declarative Transaction Model

In the declarative transaction model, it is the application server's responsibility to demarcate and manage the transaction based on the values declared in the deployment descriptors.

Container-Managed Transaction Attributes

Six transactional attributes may be assigned to an enterprise component:

  • NotSupported

  • Supports

  • Mandatory

  • Required

  • RequiresNew

  • Never

These transaction attributes are configured in the enterprise component's ...

Get BEA WebLogic Server™ 8.1 Unleashed 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.