Client-Side Transactions

The J2EE specification provides for two types of transaction-demarcation techniques: container-managed and user-managed (or bean-managed). Container-managed transactions are handled directly by the J2EE server in response to the transactional properties defined for the associated enterprise bean. Depending on the type of bean and persistence mechanisms, one of six transactional properties (Required, RequiresNew, NotSupported, Supports, Mandatory, and Never) can be associated with methods of a container-managed bean. User-managed (or bean-managed) transactions allow the J2EE developer to manually control the transactional semantics via the javax.transaction.UserTransaction interface. Table 23.2 indicates which types of ...

Get PowerBuilder® 9: Internet and Distributed Application Development 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.