Communicator e3000 MPE/iX Release 6.5 (Non-Platform Software Release C.65.00 (30216-90291)
148 Chapter5
Internet and Interoperability
HP Driver for JDBC
HP Driver for JDBC
Shu-Feng Wei
Commercial Systems Division
Java Database Connectivity (JDBC) is a Java API that enables development of Java
applications and applets with a wide range of relational databases. It consists of a set of
classes and interfaces written in Java. JDBC allows developers to write database
applications using a standard, pure Java API.
A typical JDBC Java application consists of a Java application or applet, the JDBC Driver
Manager, a vendor specific JDBC driver, and a database. The JDBC Driver Manager is
provided with the Java SDK and its primary function is to load and register the
vendor-specific JDBC driver with the Java applications and then get out of the way. The
following diagram shows the various components of a client-server JDBC application.
Figure 5-1. JDBC Client-Server Application
The HP Driver for JDBC is a vendor specific JDBC Driver that allows Java applications to
connect to ALLBASE/SQL or IMAGE/SQL databases on MPE/iX or ALLBASE/SQL on
HP-UX. The HP Driver for JDBC is a Type 3 (Network-Protocol) driver, meaning the
driver translates the JDBC API into a DBMS-independent protocol on the client-side, and
then translates to the ALLBASE/SQL protocol on the server. The driver components on the
client-side are written in 100% Pure Java, which provides the complete compatibility with
all Java Virtual Machines on all platforms.
Java Application
JDBC Driver Manager
HP JDBC Server
ALLBASE/SQL or
IMAGE/SQL Database
Network
HP Driver for JDBC