Learning more about Java Transaction Service (JTS)
 Technote (troubleshooting)
 
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

1. Learning more 2. Troubleshooting 3. Collecting data

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:
    1. 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.

    2. 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.

    3. 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.
    1. Java theory and practice: Understanding JTS -- An introduction to transactions
    2. Java theory and practice: Understanding JTS -- The magic behind the scenes
    3. For links to the JTS and JTA specifications, refer to the Transactions table in WebSphere AppServer Information Center article, Specifications and API Documentation.
    4. Distributed transactions with WS-AtomicTransaction and JTA
    5. Transactions in J2EE RedPaper
 
 
Cross Reference information
Segment Product Component Platform Version Edition
Application Servers Runtimes for Java Technology Java SDK
 
 


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > Java Transaction Service (JTS)
Operating system(s): Windows
Software version: 6.1
Software edition:
Reference #: 1247193
IBM Group: Software Group
Modified date: Sep 11, 2008