Show TOC Start of Content Area

Component documentation JTS Implementation  Locate the document in its SAP Library structure

Purpose

The Java™ Transaction Service (JTS) implementation is the other 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).

This component 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 – either a Java server process obtains a request for processing a transaction coming from another application server or a Java server process, or the Java server process sends a request for processing a transaction from itself. This is made possible by propagating 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. The J2EE Engine provides it transparently to the deployed applications.

Example

A scenario that uses the JTS implementation component is when an enterprise bean deployed on server A invokes 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.

 

End of Content Area