Web-based workloads on z/OS
Previous topic | Next topic | Contents | Glossary | Contact z/OS | PDF


z/OS Web application connectors

Web-based workloads on z/OS

Web applications on z/OS® can use connectors to access data in various mainframe middleware products.

This topic briefly describes the following commonly used connectors, which are used to access data in CICS®, IMS™, and DB2®:
  • CICS Transaction Gateway
  • IMS Connect
  • DB2 JDBC.

CICS Transaction

Gateway (CTG) to connect from the application server to CICS. CTG provides the interface between Java™ and CICS application transactions. It is a set of client and server software components incorporating the services and facilities to access CICS from the application server. CTG uses special APIs and protocols in servlets or EJBs to request services and functions of the CICS Transaction Manager.

IMS Connect

The integrated IMS Connect function of IMS provides access to both IMS DB and IMS TM from TCP/IP-enabled environments. For a full description of IMS Connect, see "IMS Connect and TCP/IP communications" at http://publib.boulder.ibm.com/infocenter/dzichelp/v2r2/index.jsp?topic=/com.ibm.ims10.doc.ccg/ccg_part_tcpip.htm

DB2 JDBC

JDBC is an application programming interface (API) that Java applications use to access relational databases. IBM® data server support for JDBC lets you write Java applications that access local DB2 for z/OS data or remote relational data on a server that supports DRDA®.

According to the JDBC specification, there are four types of drivers. The DB2 for z/OS product includes support for two types of JDBC driver architecture.
  • Type 2

    Drivers that are written partly in the Java programming language and partly in native code. The drivers use a native client library specific to the data source to which they connect. Because of the native code, their portability is limited.

  • Type 4

    Drivers that are pure Java and implement the network protocol for a specific data source. The client connects directly to the data source.

DB2 for z/OS supports the IBM Data Server Driver for JDBC and SQLJ, which is a single driver that combines type 2 and type 4 JDBC implementations. The driver is packaged in the following way:
  • db2jcc.jar and sqlj.zip for JDBC 3.0 and earlier support
  • db2jcc4.jar and sqlj4.zip for JDBC 4.0 and later, and JDBC 3.0 and earlier support
You control the level of JDBC support that you want by specifying the appropriate set of files in the CLASSPATH.




Copyright IBM Corporation 1990, 2010