JDBC Type 4 Driver Programmer's Reference

JDBC/MX Docs Home Page | Contents | Prev | Next | Index | Glossary | Prev | Next
Introduction to the HP NonStop JDBC Type
4 Driver
Type 4 Driver API Package
The Type 4 driver package, com.tandem.t4jdbc, is shipped with the driver software. For class and method
descriptions, see the JDBC Type 4 Driver API Reference Pages manual in the NonStop Technical Library.
The HP NonStop JDBC Type 4 Driver (hereafter, Type 4 driver) implements JDBC technology that conforms to
the standard JDBC 3.0 Data Access API. This driver enables Java applications to use HP NonStop SQL/MX 2.0
to access NonStop SQL databases.
To obtain detailed information on the standard JDBC API, you should download the JDBC API documentation
provided by Sun Microsystems (http://java.sun.com/products/jdbc/download.html).
The Type 4 driver requires the HP NonStop SQL Connectivity Service (MXCS) and SQL/MX 2.0, which both
require the HP NonStop Kernel Open System Services (OSS) environment.
This section explains these subjects:
JDBC/MX Architecture
Sample Programs Summary
Type 4 Driver Architecture
The Type 4 driver uses JDBC 3.0 standard functionality to allow Java clients access to NonStop SQL/MX 2.0
from client platforms. The HP NonStop SQL/MX Connectivity Service (MXCS) must be running on the
NonStop system. For more information, see the HP NonStop SQL/MX Connectivity Service Manual.
Client Platforms Supported
Java enabled platforms that support JDK 1.4.1 or higher. (For a detailed list, please refer to the softdoc file on
the product CD.)
Accessing a Database with the Type 4 Driver
A Java or BEA WebLogicServer (WLS) 8.1 client application establishes a connection.1.
The Type 4 driver accesses an MXCS association server on the NonStop system.2.
The association server returns a handle for an MXCS server to the Type 4 driver.3.
The driver makes a connection with the MXCS server and returns that connection to the client.4.