WebSphere Application Server Network Deployment, Version 6.0.x   Operating Systems: AIX, HP-UX, Linux, Solaris, Windows
             [TIP: Focusing the table of contents and search results]

Using the transaction service

This topic is an overview of the tasks involved to use transactions with WebSphere Application Server applications.

About this task

WebSphere Application Server applications can use transactions to coordinate multiple updates to resources as atomic units (as indivisible units of work) such that all or none of the updates are made permanent.

In WebSphere Application Server, transactions are managed by three main components:
  • A transaction manager. The transaction manager supports the enlistment of recoverable XAResources and ensures that each such resource is driven to a consistent outcome, either at the end of a transaction, or after a failure and restart of the application server.
  • A container in which the J2EE application runs. The container manages the enlistment of XAResources on behalf of the application when the application performs updates to transactional resource managers (for example, databases). Optionally, the container can control the demarcation of transactions for enterprise beans configured for container-managed transactions.
  • An application programming interface, UserTransaction, that is available to bean-managed enterprise beans and servlets. These application components can use the UserTransaction interface to control the demarcation of their own transactions.

    For details about the methods available with the UserTransaction interface, see the Reference: Generated API documentation or the Java Transaction API (JTA) 1.0.1 Specification.

Use the following tasks to work with transactions in WebSphere Application Server applications:

Procedure




Sub-topics
Transaction support in WebSphere Application Server
Developing components to use transactions
Configuring transaction properties for an application server
Configuring transaction properties for peer recovery
Managing manual peer recovery of the transaction service
Local transaction containment considerations
Managing active and prepared transactions
Managing transaction logging for optimum server availability
Interoperating transactionally between application servers
[Version 6.0.2] Configuring Web Services Atomic Transaction support in a secure environment
Troubleshooting transactions
Transaction service exceptions
Using one-phase and two-phase commit resources in the same transaction
Related concepts
Extended JTA support
Related tasks
Using the ActivitySession service
Task topic    

Terms of Use | Feedback

Last updated: Mar 8, 2007 8:14:28 PM CST
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/index.jsp?topic=/com.ibm.websphere.nd.doc/info/ae/ae/tjta_ep.html

© Copyright IBM Corporation 2002, 2006. All Rights Reserved.
This information center is powered by Eclipse technology. (http://www.eclipse.org)