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:
- Switch to the J2EE perspective.
- In the Project Explorer view, select the desired EJB module.
- Right-click on the Deployment Descriptor Editor and
select Open With from the pop-up menu.
- On the Beans page of the editor, select
a bean and find the Global Transaction section under the WebSphere Extensions
section.
- 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.
- 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.