NonStop Server for Java Programmer's Reference (NSJ 4.2+)
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 on-line 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 detailed information on HP drivers that provide to access SQL/MX or SQL/MP, see the
JDBC driver manuals in the NonStop Technical Library under Independent Products: Java.
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 complete information on them, see the JToolkit Programmer's Reference in the NonStop
Technical Library under Independent Products: Java.
Enscribe API for Java
The Enscribe API for Java allows access 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 fully 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.
Pathsend API for Java
The NonStop Transaction Services/MP (NonStop TS/MP) product supports the use of Pathway
servers to access NonStop SQL or Enscribe databases in an online transaction processing
(OLTP) environment. Using the Pathsend API for Java, programs can send requests to these
Pathway servers and receive replies from them. Pathway servers can be written in C, COBOL,