NonStop Server for Java (NSJ) Programmer's Guide (NSJ 2.0+)
Contents | Index | Glossary | Prev | Next
Compaq Implementation Specifics
This section explains these subjects:h
New or Changed Files●
Java
TM
Abstract Window Toolkit (AWT)●
Java Native Interface (JNI)●
IEEE Floating-Point Implementation●
JavaBeans
TM
●
jdb: Java Debugger●
New or Changed Files
In addition to the standard Java packages, Compaq NonStop
TM
Server for Java 2.0 provides these files:
tandemvm.jar
File containing classes that Compaq changed (java.beans.*, java.awt.*,
java.lang.UnsupportedClassException)
●
tsmp.jar
File containing classes for communicating with Pathway servers
●
jtatmf.jar
File containing classes for the version of NonStop
TM
Java Transaction Agent that uses TMF
●
javachk●
Java Abstract Window Toolkit (AWT)
NonStop
TM
Server for Java 2.0 provides the Java Abstract Window Toolkit (AWT); however, its use on systems running
the Compaq NonStop
TM
Kernel operating systemis not supported because of the nonvisual nature of Compaq servers. For
the same reason, NonStop
TM
Server for Java 2.0 does not support the AppletViewer tool.
Classes from the AWT package that do not display data work as they do on the reference platform.
Any invocation of the class java.awt.EventQueue throws an UnsupportedClassException.
For a demonstration of AWT, see /usr/tandem/java/demo/awt.
Java Native Interface (JNI)
The Sun Microsystems Java Native Interface (JNI) standard defines both the C-language APIs that enable Java methods to
call C and C++ methods and the way that C and C++ methods can start and interact with a Java Virtual Machine (JVM).
NonStop
TM
Server for Java supports JNI and the Invocation API with the following modifications:
You must relink the JVM whenever you use new C or C++ routines in your Java programs.●
Multithreaded native C or C++ routines must use the same Pthread library and wrappers that the JVM uses, but you●