Integrating JDBC Type 4 Driver With JBoss Applications

Document History
Part Number Product Version Published
543713-001 HP NonStop JDBC Type 4 Driver 2.0 February 2007
Introduction
The HP NonStop JDBC Type 4 Driver (hereafter, the Type 4 Driver) is a high-performing standard
compliant driver providing remote access from Java™ clients to NonStop SQL/MX Release 2.0
Database MP and MX tables. Type 4 Driver is integrated with the features of the NonStop SQL/MX
Database server and provides a highly available and scalable connectivity solution to the HP
NonStop platform. This release of the Type 4 Driver supports global (XA) transactions.
The purpose of this document is to provide a step-by-step guide to integrate the Type 4 Driver in the
Java 2 Platform, Enterprise Edition (J2EE) compliant JBoss Application Server. This guide uses the
popular “Duke’s Bank” provided by Sun Microsystems in the J2EE tutorial. For more information about
the application, see “The J2EE Tutorial—Duke’s Bank Application” section of this guide.
Products and Components
This section describes the various products and components needed in order to successfully run the
Duke’s Bank sample (see table).
Products and components needed for Duke’s Bank sample.
Product/component Where to obtain Special notes
NonStop JDBC Type 4 Driver Ordering information
Auxiliary files for sample
Same location as this document (named
NonStopFiles_JBoss.zip)
JBoss Application Server*
http://www.jboss.com/products/jbossas/downloa
ds
Download Version
4.0.4 or later
Duke’s Bank Application
http://java.sun.com/j2ee/1.4/download.html#tuto
rial
Download the 1.3
tutorial files (and not
the 1.4 ones)*
Jakarta Struts http://jakarta.apache.org/struts
JBoss specific files
http://www.jboss.org/docs/jbossj2ee-src.zip
Apache Ant http://ant.apache.org Version 1.5.4 or later
Note: * The 1.4 version of the files have a different directory layout.
Setup
This section provides documentation to configure the JBoss Application Server environment to run the
Duke’s Bank Application. Please follow the order for the installation process as described below.
JBoss Application Server
Extract the files from the JBoss Application Server archive into a directory on your system. Hereafter,
this directory will be referred to as JBOSS_HOME.
2