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

The main() method executes when you use the java command to invoke the Java Virtual
Machine (JVM).
No major modifications were made to the JVM standard architecture to enable command-line
execution. The JVM runs as a single executable program named java and performs the standard
functions of class loading, linking, verification, and execution.
Web-Based Execution
A significant Compaq extension of JDK 1.2.2 integrates the iTP Secure WebServer with Java
by allowing the iTP Secure WebServer to execute Java programs called servlets (see the
following figure). Servlets are an alternative to C code and the Pathway CGI currently
provided for users of iTP Secure WebServer. A special Pathway CGI server called
ServletServerClass (SSC) manages the servlets, which inherit the server's
manageability, fault tolerance, and scalability.
Relationship of JDK, NonStop Java, Servlets, and iTP Secure WebServer
Legend
Standard Java Development Kit (JDK)1.
NonStop Java2.
iTP Secure WebServer3.
Servlets4.
Servlets extend the HttpServlet class and are invoked from within the SSC. The SSC uses
the Java Native Interface (JNI) to run a Java Virtual Machine (JVM) that has been extended
by using native RISC methods that can access the Pathway CGI infrastructure. After starting
the JVM, the server invokes the main() method of the HttpServer class, which initializes