NonStop Server for Java 6.0 Programmer's Reference

and reliability inherent in SQL/MX products to provide standards-based messaging for local clients
running on NonStop servers. NSJMS enables scalability and load distribution through horizontal
partitioning and fault-tolerance through process-pair technology.
Features and functions of NSJMS include:
Implements the JMS API on NonStop systems. Uses the publish and subscribe features of
NonStop SQL/MX.
Uses a Java Naming and Directory Interface (JNDI) environment that allows access to NSJMS
connection factories, and queue objects or topic objects.
Enables use of a persistent, reliable bridge environment to allow interoperability between
NSJMS and a locally hosted foreign JMS provider.
Supports the NSJMS C++ API, which implements a subset of the functionality provided by the
Sun JMS API, and is used by C++ client applications running on a NonStop system to
interoperate with other JMS clients.
Uses the NSJMS administrative utility to manage the NSJMS environment. You can invoke the
utility through a command line interface or XML interface.
NSJMS conforms to Sun Microsystems published specification, Java Message Service, except as
noted in NSJMS documentation. The specification is available on the Sun Microsystems Java
Message Service (JMS) web site (http://java.sun.com/products/jms/docs.html). For more
information about NSJMS, see the NonStop JMS User's Manual at http://www.hp.com/go/
nonstop-doc s.
NonStop Tuxedo: Jolt Client
The Jolt product is a Java based interface to the HP NonStop Tuxedo system that extends Tuxedo
services to the Internet. Jolt allows you to build client programs and applets that can remotely invoke
existing NonStop Tuxedo services allowing application messaging, component management, and
distributed transaction processing.
With Jolt, you can leverage existing Tuxedo services and extend your transaction environment to
the corporate intranet or world-wide Internet. The key feature of the Jolt architecture is its simplicity.
Using Jolt, you can build, deploy, and maintain robust, modular, and scalable electronic commerce
systems that operate over the Internet.
The Jolt product includes the JoltBeans toolkit, which provides a JavaBeans compliant interface to
Jolt for NonStop Tuxedo. The JoltBeans toolkit contains beans that wrap the existing Jolt class library
into reusable bean components such as, the JoltSessionBean or the JoltServiceBean. These beans
can be customized easily by giving application specific values to properties and connecting them
with other bean components. You can use the JoltBeans toolkit with your Integrated Development
Environment (IDE) to create Jolt clients that can access a Tuxedo application.
The Jolt product includes the Jolt Web Application Services Toolkit, which is an extension to the
Jolt 1.1 Java class library. The Toolkit allows the Jolt client class library to be used in a Web Server
to provide an interface between HTML clients or browsers, and Tuxedo services.
For more detailed information, see TUXEDO product documentation at http://www.hp.com/go/
nonstop-doc s.
Stored Procedures in Java
Stored procedures in Java (SPJs) provide an efficient and secure way to implement business logic
in an SQL/MX database. They allow you to write portable applications in Java and access an
industry-standard SQL database.
A SPJ is a type of user-defined routine (UDR) that operates within a database server. A UDR can
be either a stored procedure, which does not return a value directly to the caller, or a user-defined
function, which does return a value directly to the caller. (A stored procedure returns a value only
to a host variable or dynamic parameter in its parameter list.)
28 Introduction to NonStop Server for Java 6.0