This figure shows how transactions work in a WebLogic Server EJB application. The transaction may be managed by either the EJB container, or the EJB itself. In container-managed transactions, transaction attributes in the EJB deployment descriptor determine how the WebLogic Server EJB container handles transactions with each method invocation. By contrast, in bean-managed transactions, the EJB makes explicit method invocations on the
UserTransaction object to begin, commit, and roll back transactions.