Communicator e3000 MPE/iX Release 6.0 Express 1 (C.60.01) (30216-90286)
34 Chapter3
Technical Articles
HP Driver for JDBC
HP JDBC Components
There are three components supplied with the HP JDBC product, the JDBC Driver, the
JDBC Monitor, and the JDBC Server. The user is responsible for writing a Java
application or applet that uses JDBC on the client, as well as providing the
ALLBASE/SQL or IMAGE/SQL database on the server.
• The HP Driver for JDBC is a set of Java classes that implement the java.sql.*
interfaces and provide an implementation of a JDBC driver that can communicate with
an ALLBASE/SQL or IMAGE/SQL database. The HP Driver for JDBC typically will
reside on the client side of the user application. It provides the translation from the
Java language and the JDBC API to the HP proprietary network protocol.
• The JDBC Monitor is a component that is installed on the JDBC server host that
manages all client JDBC Driver connections to the server host. It is typically started as
a daemon when the server machine is booted. All JDBC client connections are made
through the JDBC Monitor. The monitor performs validation of the userid and
password that are passed in the client connection request and spawns JDBC Server
processes to serve each of the client connections. Once the server process is spawned,
the monitor returns to wait for the next client connection.
• The JDBC Server is the server process that is spawned by the JDBC Monitor to
service a client connection. It handles the translation from the HP proprietary network
protocol to the ALLBASE/SQL calls. There is at least one JDBC Server process for each
client connection to the server host. More than one JDBC Server process may be used to
handle multiple client statements using the same connection. This component also
handles the translation from JDBC SQL to ALLBASE SQL and conversion of the
database data from ALLBASE/SQL format to JDBC format.
Both the JDBC Monitor and the JDBC Server must be installed on the same host where
the ALLBASE/SQL or IMAGE/SQL databases reside.
Requirements
Java Requirements
The HP JDBC Client components (the JDBC driver itself) require a Sun-compliant JDK
version 1.1 and above, which includes a JDBC version 1.2. Install the JDK from Sun or
from your platform vendor. Individual platform vendors may have their own requirements
for the platform host. For example, Java only runs on HP-UX 10.20 and MPE/iX 6.0 and
above, HP-UX 9.x and MPE/iX 5.5 is not supported.
Java and JDK components only need to be installed on the client platform. The JDBC
server platforms use native components and must be installed on the same host where the
ALLBASE/SQL or IMAGE/SQL databases reside.
HP-UX Server Requirements
The HP JDBC Server components require HP-UX version 10.20 or greater. HP-UX
components are only required if your JDBC Server platform is the HP-UX operating
system.