|
Problem(Abstract) |
Learning more about Java™ Transaction Service (JTS) is the
first step in the troubleshooting process. This document provides you with
educational information that can help you learn more about this
topic. |
|
|
|
Resolving the
problem |
 |
Getting background information on JTS
- What is JTS?
The Java Transaction Service within WebSphere® Application Server is an
implementation of the JTS specification which specifies the implementation
of a transaction manager which supports the JTA specification at the
high-level and implements the Java mapping of the OMG Object Transaction
Service (OTS) 1.1 Specification at the low-level.
- What is JTA?
According to the Java Transaction API 1.0.1, the JTA specifies high-level
interfaces between a transaction manager and the parties involved in a
distributed transaction system:
- The application
- The resource manager
- The application server
- In WebSphere Application Server, transactions are handled
by three main components:
- A transaction manager that 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. This allows such
application components to control the demarcation of their own
transactions.
For more information on JTS and JTA, refer to these documents.
- Java
theory and practice: Understanding JTS -- An introduction to
transactions
- Java
theory and practice: Understanding JTS -- The magic behind the
scenes
- For links to the JTS and JTA specifications, refer to the Transactions
table in WebSphere AppServer Information Center article, Specifications
and API Documentation.
- Distributed
transactions with WS-AtomicTransaction and JTA
- Transactions
in J2EE RedPaper
|
|
|
|
|
|
Cross Reference information |
Segment |
Product |
Component |
Platform |
Version |
Edition |
Application Servers |
Runtimes for Java Technology |
Java SDK |
|
|
|
|
|
|