NonStop Server for Java 5.0 Programmer's Reference

Formatter  An interpreter for printf-style format strings, the
java.util.Formattable class supports layout justification and alignment,
common formats for numeric, string, date/time data, and locale-specific output. This class
supports common Java types, such as byte, java.math.BigDecimal, and
java.util.Calendar. Limited formatting customization for arbitrary user types is
provided through the java.util.Formattable interface.
Scanner  The java.util.Scanner class can convert text into primitives or Strings.
Based on the java.util.regex package, this class also offers a way to conduct
regular expression-based searches on streams, file data, strings, or implementers of the
Readable interface.
Concurrency Utilities  The java.util.concurrent,
java.util.concurrent.atomic, and java.util.concurrent.locks
packages provide an extensible framework of high-performance, scalable, thread-safe
building blocks for developing concurrent classes and applicationsincluding thread
pools, thread-safe collections, semaphores, a task scheduling framework, task
synchronization utilities, atomic variables, and locks.
Instrumentation  The new java.lang.instrument package allows Java
programming agents to instrument programs running on the Java virtual machine by
modifying methods' bytecodes at runtime.
Threads  The java.lang.Thread class has the following enhancements:
Changes thread-priority handling
Provides the Thread.State enum class and the new getState() API for
querying the execution state of a thread.
Adds the new thread dump API through the getStackTrace and
getAllStackTraces methods in the Thread class. These methods provide a
programmatic way to obtain the stack trace of a thread or all threads.
The uncaughtExceptionHandler mechanism, previously available only
through the ThreadGroup class, is now available directly through the Thread
class.
A new form of the sleep() method allows for sleep times smaller than one
millisecond.
Networking
The networking API now provides a way of setting timeouts on connect and read
operations for protocol handlers. These timeouts benefit any HTTP client application that
must behave robustly in the event of server failure.
A new API provides a way for Java applications, which includes Remote Management
Interface (RMI) applications, to be launched through inetd (Internet/Network
Deamon).