NonStop Servlets for JavaServer Pages (5.0) System Administrator's Guide

Programming and Management Features
NonStop Servlets for JavaServer Pages (NSJSP) System Administrator’s Guide525644-002
4-3
Programming Using NonStop Server for Java
This section provides a brief summary about how to use the Servlet API 2.4. For
detailed information about the Servlet API 2.4, see the Java Servlet API Specification,
Version 2.4 at the following web site:
http://java.sun.com/products/servlet/
and other API documentation available from Sun Microsystems.
For information about programming using NonStop Server for Java, refer to the
NonStop Server for Java (NSJ) Programmer’s Reference.
You can create a new servlet or modify an existing servlet by using NonStop Server for
Java or by using some other standard Java environment.
Programming Using NonStop Server for Java
HP NonStop Server for Java 4 is a Java environment that supports compact,
concurrent, dynamic, portable programs for the Enterprise server. NonStop Server for
Java 4 requires the HP NonStop Open System Services (OSS) environment. NonStop
Server for Java 4 uses the HP NonStop operating system to add the NonStop system
fundamentals of scalability and program persistence to the Java environment.
NonStop Server for Java 4 is based on the Java 2 Platform, Standard Edition (J2SE)
SDK 1.4.2 reference Java implementation for Solaris, licensed by HP from Sun
Microsystems, Inc. NonStop Server for Java 4 is a conformant version of the Sun
Microsystems J2SE SDK 1.4.2 and is branded as Java Compatible. NonStop Server
for Java 4 complies with all conformance tests in version 1.4.2 of the Java
Conformance Kit (JCK).
NonStop Server for Java 4 supports the Java Platform Debugger Architecture (JPDA),
which consists of three interfaces designed for use by debuggers in development
environments for desktop systems. This is described in the Sun Microsystems
documentation for JPDA:
http://java.sun.com/j2se/1.4.2/docs/guide/jpda/index.html
NonStop Server for Java 4 also supports the Java Virtual Machine Profiler Interface
(JVMPI), which is used to develop profilers that work in conjunction with the Java VM
implementation.
NonStop Server for Java 4 supports the Sun Microsystems enhancement to AWT
called headless support that allows a Java Virtual Machine (JVM) to indicate whether a
display, keyboard, sound, or mouse operation can be supported in a graphics
environment. Because of the nonvisual nature of NonStop servers, NonStop Server for
Java 4 is always a headless JVM.
NonStop Server for Java 4 also includes the following features:
SQL/MP for Java. This feature gives your servlet access to NonStop SQL/MP
databases.
SQL/MX for Java. This feature gives your servlet access to NonStop SQL/MX
databases.