Defining global transactions for a bean

Global transaction settings are WebSphere® Application Server extensions to the Enterprise JavaBeans™ specification. If an application uses two or more resources, then an external transaction manager is needed to coordinate the updates to both resource managers in a global transaction.

For more information, see the WebSphere Application Server documentation.

To define global transaction settings:

  1. Switch to the J2EE perspective.
  2. In the Project Explorer view, select the desired EJB module.
  3. Right-click on the Deployment Descriptor Editor and select Open With from the pop-up menu.
  4. On the Beans page of the editor, select a bean and find the Global Transaction section under the WebSphere Extensions section.
  5. In the Component Transaction Timeout integer field, type an integer that indicates the Timeout period. This value specifies the transaction timeout, in seconds, for any new global transaction started by the container on behalf of the enterprise bean.
  6. Click on the Use Web Services Atomic Transaction check box to implement the set of Web services that enable Web service applications to participate in global transactions distributed across the heterogeneous Web service environment.
After you define the global transaction settings, you can click Remove to remove the global transaction settings.

Feedback