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

Double-Precision Ranges
Floating-Point Representation Minimum Positive Decimal Value Maximum Decimal Value
Compaq 1.7272337110188889e-77 1.15792089237316192e77
IEEE 4.94065645841246544E-324 1.79769313486231570E+308
If you convert a Java String that represents a Compaq double value to a Java Double value, the smaller fractional part
of the IEEE double value causes loss of precision.
JavaBeans
JavaBeans are reusable software components that can run in both a design environment (inside a builder tool) and a run-time
environment.
The design environment is highly visual and requires that JavaBeans provide design information to the programmer and
allow the end user to customize its behavior and appearance.
In the run-time environment, JavaBeans might be visible, as in the case of a Graphical User Interface (GUI), or invisible,
as in the case of a data feed control.
Because of the nonvisual nature of the NonStop
TM
Kernel, NonStop
TM
Server for Java 2.0 supports only run-time execution
of invisible JavaBeans. NonStop
TM
Server for Java 2.0 does not support design-time execution or run-time execution that
requires a GUI operation. For this reason, in NonStop
TM
Server for Java 2.0, the Boolean expression java.beans.Beans
isGuiAvailable returns the value false.
NonStop
TM
Server for Java 2.0 includes the JavaBeans Development Kit (BDK).
For more information about JavaBeans, see the Sun Microsystems JavaBeans document
(http://www.javasoft.com/products/jdk/1.2/docs/guide/beans/index.html).
jdb: Java Debugger
The Java Debugger, jdb, is a command-line debugger for Java classes. jdb uses the Java Debugger API to inspect and
debug a local or remote Java interpreter (java). Most jdb commands are the same as dbx commands.
Compaq provides the following extensions to make debugging with jdb more like debugging with the Inspect Interactive
Symbolic Debugger:
obey filename
Reads commands from a file.
out filename
Sets the standard output device to the specified file.
sleep milliseconds
Puts the debugger to sleep.
source [line-number|method]
Prints source code (very similar to the standard jdb commmand list).
t [threadID|all]
With no argument, dumps the stack of the current thread. With all, dumps the stack of each thread in the current
thread group. With threadID, dumps the stack of the specified thread (very similar to the standard jdb commmand
where).
yield
Yields the current thread (the debugger), giving up control of the processor so other threads (programs) can run.
For more information about jdb, see the Compaq NonStop
TM
Server for Java Tools Reference Pages.