Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

Share this Page URL

Chapter 1: Accessing DB2 using JDBC - Pg. 1

1 Chapter 1. Accessing DB2 using JDBC There are various ways of connecting to DB2 from WebSphere Application Server for z/OS Version 6.01 on z/OS, including JDBC Type 2 and Type 4 technology. In this chapter we explain how to configure a connection-pooled data source using WebSphere for z/OS V6 with the IBM DB2 Universal Driver for JDBC and SQLJ in Type 2 mode. Since this is a Type 2 connection, DB2 will reside on the same z/OS system image as the application. Java Database Connectivity (JDBC) is an Application Programming Interface (API) that Java applications can use to access any relational database. JDBC is similar to the Open Database Connection (ODBC) and is based on the X/Open Structured Query Language (SQL) Call Level Interface (CLI) specification. © Copyright IBM Corp. 2004, 2005. All rights reserved. 1