IBM Data Server Driver for JDBC and SQLJ type 4 connectivity JDBC and SQLJ distributed transaction support

The IBM Data Server Driver for JDBC and SQLJ in the z/OS® environment supports distributed transaction management when you use IBM Data Server Driver for JDBC and SQLJ type 4 connectivity.

This support implements the Java 2 Platform, Enterprise Edition (J2EE) Java Transaction Service (JTS) and Java Transaction API (JTA) specifications, and conforms to the X/Open standard for global transactions (Distributed Transaction Processing: The XA Specification, available from http://www.opengroup.org). IBM Data Server Driver for JDBC and SQLJ distributed transaction support lets Enterprise Java Beans (EJBs) and Java servlets that run under WebSphere® Application Server Version 5.01 and above participate in a distributed transaction system.

JDBC and SQLJ distributed transaction support provides similar function to JDBC and SQLJ global transaction support. However, JDBC and SQLJ global transaction support is available with IBM Data Server Driver for JDBC and SQLJ type 2 connectivity on Db2 for z/OS only.

JDBC and SQLJ distributed transaction support is available for connections to Db2 for z/OS, Db2, and DB2® for IBM i servers.

A distributed transaction system consists of a resource manager, a transaction manager, and transactional applications. The following table lists the products and programs in the z/OS environment that provide those components.

Table 1. Components of a distributed transaction system on Db2 for z/OS
Distributed transaction system component Component function provided by
Resource manager Db2 for z/OS or Db2
Transaction manager WebSphere Application Server or another application server
Transactional applications JDBC or SQLJ applications

Your client application programs that run under the IBM Data Server Driver for JDBC and SQLJ can use distributed transaction support for connections to Db2 for z/OS or Db2 servers.

In JDBC or SQLJ applications, distributed transactions are supported for connections that are established using the DataSource interface. A connection is normally established by the application server.