NonStop Server for Java (NSJ) Programmer's Guide (NSJ 2.0+)

Contents | Index | Glossary | Prev | Next
Accessing Pathway Servers
The Compaq NonStop
TM
Transaction Services/MP (Compaq NonStop
TM
TS/MP) product supports the creation of Pathway
servers to access Compaq NonStop
TM
SQL/MP or Enscribe databases in an online transaction processing (OLTP)
environment. Programs written using Compaq NonStop
TM
Server for Java
TM
can send requests to these Pathway servers and
receive replies from them.
This section explains these subjects:
Pathway Support
Communicating With Pathway Servers
Creating Classes for Requests and Replies
Setting Up Request Data
Sending a Request
Reading a Reply
Exceptions
Data Conversion
Sample Pathway Program
Pathway Support
Java-to-Pathway support in NonStop
TM
Server for Java consists of the following:
com.tandem.tsmp
ddl2java
You can use the NonStop
TM
Server for Java Java-to-Pathway support in the following ways:
To communicate with a Pathway server from Java
When you are converting a Pathway requester (client) written in C or COBOL to Java
In a servlet, to create a program in which World Wide Web (WWW) clients anywhere can access a Pathway server,
as the following figure shows.
WWW Client Accessing a Pathway Server