NonStop Server for Java 5.0 Programmer's Reference
NonStop Server for Java 5 supports the JDK 5.0 API packages (java, javax, and org
packages) described in the Java 2 Platform Standard Edition 5.0 API Specification
(http://java.sun.com/j2se/1.5.0/docs/api/index.html).
Because of the nonvisual nature of NonStop servers, the NonStop Server for Java 5 supports the
following packages according to Headless support.
Package Description
java.awt and AWT-related
packages
Contains all of the classes for creating user
interfaces and for painting graphics and images.
javax.accessibility Defines a contract between user interface
components and technology that provides access
to those components.
javax.sound and
Sound-related packages
Provides an API for capturing, processing, and
playing back audio and MIDI (Musical
Intstrument Digital Interface) data. This API is
supported by a sound engine that provides
high-quality audio mixing and MIDI synthesis
capabilities for the platform.
javax.swing and
Swing-related packages
Provides a set of "lightweight" (all-Java language)
components that, as much as possible, work the
same on all platforms.
If code that depends on a keyboard, display, mouse, or sound processing is called, NonStop
Server for Java 5 throws a java.awt.HeadlessException.
For more information on the Core Packages of J2SE Development Kit 5.0, see Sun
Microsystems Documents.
Java Naming and Directory Interface
(JNDI) Highlights
The Java Naming and Directory Interface (JNDI) provides naming and directory functionality
to Java programs. It is independent of any specific directory service implementation; therefore,
it allows a variety of directories to be accessed in a common way.
The JNDI architecture consists of an Application Programming Interface (API) and a Service
Provider Interface (SPI). Java programs use the JNDI API to access a variety of naming and










