Browse Prior Art Database

Implementing the unspecified transaction context using a native transaction

IP.com Disclosure Number: IPCOM000013282D
Original Publication Date: 2001-Aug-17
Included in the Prior Art Database: 2003-Jun-18
Document File: 1 page(s) / 39K

Publishing Venue

IBM

Abstract

A program is disclosed that implements the EJB v1.1 unspecified transaction context using a native transaction.

This text was extracted from a PDF file.
This is the abbreviated version, containing approximately 57% of the total text.

Page 1 of 1

Implementing the unspecified transaction context using a native transaction

A program is disclosed that implements the EJB v1.1 unspecified transaction context using a native transaction.

     The unspecified transaction context described in section 11.6.3 of the EJB v1.1 specification (available from http://java.sun.com/products/ejb) if implemented as executing without a transaction would introduce integrity and cleanup problems for transaction monitors such as CICS*. This is because transaction termination commits or backs out any recoverable updates made by application code such as enterprise beans or code running as user exits and is the means by which various system components that have been involved in running application code are driven to tidy up their state.

     The support for EJB in CICS implements the unspecified transaction context as a 'native' transaction which in CICS parlance is called a unit of work (UOW). The advantages are that integrity and cleanup problems are avoided and enterprise beans behave as normal CICS applications regardless of whether they are executing in the unspecified transaction context.

     The whole EJB execution environment including ORB instance, EJB container instance, and application code executes in a JVM which runs under a CICS transaction instance. The CICS transaction instance is always associated with a UOW, although a syncpoint during the life of the transaction instance may end one UOW and begin a new one. This is consistent w...