Java 2 SDK for Solaris Developer's Guide

Preface

Failed Cross Reference Format is an introduction to and overview of the new features and enhancements in the production version of the JavaTM 2 SDK on SolarisTM 8 operating environment.

Who Should Use This Book

This document is intended for application developers who use the Java Development Kit (JDKTM). Java 2 Software Development Kit (SDK) for Solaris is optimized to deliver superior performance and scalability to server-side Java technology applications in the enterprise environment. It includes an enhanced Java Virtual Machine (VM) with improved Just-In-Time (JIT) compiler optimizations. The Java 2 SDK for Solaris has been developed to provide substantially increased performance for large server-side applications running large numbers of Java threads on multiprocessor systems. Server-side applications are often characterized as:

The faster Java VM also provides improved performance for client-side applications.

How This Book Is Organized

Chapter 1, New Features and Enhancements describes the new features and enhancements.

Chapter 2, Java 2 SDK for Solaris Backward Compatibility lists and discusses cases of incompatibilities between the Java 2 SDK for Solaris and JDK 1.1 programs.

Chapter 3, Java Native Interface (JNI) discusses issues of interest to developers making the transition from using the Native Method Interface (NMI) to the Java Native Interface (JNI).

Chapter 4, Command-Line Differences Between the Java 2 SDK and JDK 1.1 details the options supported on the Java 2 SDK for Solaris reference and production platforms.

Chapter 5, Using SIGQUIT for Debugging describes how to use a new debugging process.

Appendix A, Memory Allocation and Constraints discusses the way in which the Java 2 SDK for Solaris allocates memory.

Appendix B, Interpreting -verbosegc Output describes the use of -verbosegc in troubleshooting garbage collection.

Appendix C, Poller Class Usage is a discussion of use of the new Poller class.

Appendix D, Running with Both Java 2 SDK and JDK 1.1 shows you how to change the default JDK on your system from JDK 1.1 to Java 2 SDK for Solaris.

Related Books

These documents also have information about this release:

You can download these documents at:

http://www.sun.com/solaris/java/

Ordering Sun Documents

Fatbrain.com, an Internet professional bookstore, stocks select product documentation from Sun Microsystems, Inc.

For a list of documents and how to order them, visit the Sun Documentation Center on Fatbrain.com at http://www1.fatbrain.com/documentation/sun.

Accessing Sun Documentation Online

The docs.sun.comSM Web site enables you to access Sun technical documentation online. You can browse the docs.sun.com archive or search for a specific book title or subject. The URL is http://docs.sun.com.

What Typographic Conventions Mean

The following table describes the typographic changes used in this book.

Table P-1 Typographic Conventions

Typeface or Symbol 

Meaning 

Example 

AaBbCc123

 The names of commands, files, and directories; on-screen computer output

Edit your .login file.

Use ls -a to list all files.

machine_name% you have mail.

AaBbCc123

 What you type, contrasted with on-screen computer outputmachine_name% su Password:

AaBbCc123

 Command-line placeholder: replace with a real name or value

To delete a file, type rm filename.

AaBbCc123

Book titles, new words, or terms, or words to be emphasized. 

Read Chapter 6 in User's Guide.

These are called class options.

You must be root to do this.

Shell Prompts in Command Examples

The following table shows the default system prompt and superuser prompt for the C shell, Bourne shell, and Korn shell.

Table P-2 Shell Prompts

Shell 

Prompt 

 C shell promptmachine_name%
 C shell superuser promptmachine_name#
 Bourne shell and Korn shell prompt$
 Bourne shell and Korn shell superuser prompt#