Show TOC

Background documentationJTS Implementation Locate this document in the navigation structure

 

The Java Transaction Service (JTS) implementation is the second module that builds up Transaction Service functionality along with the Java Transaction API (JTA) implementation. The JTS standard defines a Java mapping of the Object Transaction Service (OTS) defined by the Object Management Group (OMG).

JTS enables transaction context propagation between different servers, using the Internet Inter-ORB Protocol (IIOP). The logic of the JTS implementation is based on two scenarios:

  • A Java server process receives a request for processing a transaction coming from another application server or a Java server process.

  • A Java server process sends a request for processing a transaction from itself.

This is possible because of the existing propagation of data about the transaction in its context, so that the receiving server can map the object to its own implementation of the transaction management module, process the transaction, and return the result to the sending server.

As an application developer, you do not work with the JTS directly. AS Java provides it transparently to deployed applications.

Example

A scenario that uses the JTS implementation component is when an enterprise bean deployed on server A calls a business method on an enterprise bean deployed on server B. This remote communication is possible by using a distributed transaction and transaction context propagation. The transaction starts on server A, then it is processed on server B and the result is returned to server A.

More Information

JTA Implementation