NonStop Server for Java 6.0 Programmer's Reference

The BEA WebLogic Server for the HP NonStop Server is an application server that provides a
framework for building and managing applications. WebLogic Server simplifies the development,
deployment, integration, and management of applications by surrounding the latest J2EE and Web
services standards with easy-to-use development and administration tools and powerful clustering,
security, integration, and management features. These built-in services alleviate developers need
to create these services manually.
For more information, see BEA WebLogic Products documentation at http://www.hp.com/go/
nonstop-doc s.
JDBC Drivers for NonStop SQL Database Access
JDBC drivers implement the JDBC API and provide access to NonStop SQL databases. You can
use the JDBC API calls in your Java programs to access SQL tables on NonStop systems. The
available drivers and the access they provide are:
Type 2, which are native API drivers to use in Java programs running with NonStop Server
for Java on a NonStop system. The type 2 drivers are included on the NonStop Server for
Java distribution CD.
JDBC Driver for NonStop SQL/MX (JDBC/MX) for use with SQL/MX
JDBC Driver for NonStop SQL/MP (JDBC/MP) for use with SQL/MP
JDBC Type 4, which uses network protocols built into the database engine. Type 4 drivers
talk directly to the database using Java sockets. You can use the HP NonStop JDBC Type 4
Driver in Java programs running on PCs, HP-UX systems, and other platforms for access to
NonStop SQL/MX. For the latest list of supported platforms, see the current JDBC Type 4
softdoc, which can be found online by accessing Scout for NonStop Servers.
To obtain detailed information on the standard JDBC API, you can download the JDBC API
documentation provided by Sun Microsystems (http://java.sun.com/products/jdbc/download.html).
For information on HP drivers that are provided to access SQL/MX or SQL/MP, see the JDBC
driver manuals at http://www.hp.com/go/nonstop-doc s.
JToolkit for NonStop Servers
The HP JToolkit for NonStop Servers includes three APIs as tools for using Java programs to access
legacy applications on NonStop servers. JToolkit also includes Scalable TCP/IP (SIP) for developing
network servers written in Java. The following paragraphs introduce these tools. For more information
on them, see the JToolkit Programmer's Reference at http://www.hp.com/go/nonstop-doc s.
Enscribe API for Java
The Enscribe API for Java allows access to the Enscribe Database Manager, supported by the
Guardian file system. This access is typically used to interact with legacy applications.
Pathway API for Java
The Pathway API for Java provides access to a special file called $RECEIVE, which is needed to
enable a process to act as a Pathway server. These servers are typically used in legacy applications.
Pathway server programs read requests from requester programs and act on those requests. The
Guardian requester/server model is described in the TS/MP Pathsend and Server Programming
Manual.
A process sends a message to another process by opening the recipient process file and writing
a message to it. Because a process might not know in advance which processes will send messages
to it and in which order, all messages to a process arrive using a single file-system connection. A
process receives a message -whether the message is a request from another user process or a
system message - by reading from $RECEIVE.
26 Introduction to NonStop Server for Java 6.0