Sun Java System Web Server 6.1 SP7 Programmer's Guide to Web Applications


This guide describes how to create and run Java™ 2 Platform, Standard Edition (J2SE platform) applications that follow the new open Java standards model for servlets and JavaServer Pages™ (JSP) technology on the Sun Java System Web Server 6.1. In addition to describing programming concepts and tasks, this guide offers implementation tips and reference material.

This preface contains the following topics:

Who Should Use This Guide

The intended audience for this guide is the person who develops, assembles, and deploys web applications (servlets and JSPs) in a corporate enterprise.

This guide assumes you are familiar with the following topics:

Using the Documentation

The Sun Java System Web Server manuals are available online files PDF and HTML formats at

The following table lists the tasks and concepts described in the Sun Java System Web Server manuals.

Table P–1 Sun Java System Web Server Documentation Roadmap

For Information About  

See the Following  

Late-breaking information about the software and documentation 

Release Notes

Getting started with Sun Java System Web Server, including hands-on exercises that introduce server basics and features (recommended for first-time users) 

Getting Started Guide

Performing installation and migration tasks: 

  • Installing Sun Java System Web Server and its various components, supported platforms, and environments

  • Migrating from Sun Java System Web Server 4.1 or 6.0 to Sun Java System Web Server 6.1

Installation and Migration Guide

Performing the following administration tasks:

  • Using the Administration and command-line interfaces

  • Configuring server preferences

  • Using server instances

  • Monitoring and logging server activity

  • Using certificates and public key cryptography to secure the server

  • Configuring access control to secure the server

  • Using J2SE security features

  • Deploying applications

  • Managing virtual servers

  • Defining server workload and sizing the system to meet performance needs

  • Searching the contents and attributes of server documents, and creating a text search interface

  • Configuring the server for content compression

  • Configuring the server for web publishing and content authoring using WebDAV

Administrator’s Guide

Using programming technologies and APIs to do the following: 

  • Extend and modify Sun Java System Web Server

  • Dynamically generate content in response to client requests

  • Modify the content of the server

Programmer’s Guide

Creating custom Netscape Server Application Programmer’s Interface (NSAPI) plugins 

NSAPI Programmer’s Guide

Implementing servlets and JavaServer Pages™ (JSP) technology in Sun Java System Web Server 

Programmer’s Guide to Web Applications

Editing configuration files 

Administrator’s Configuration File Reference

Tuning Sun Java System Web Server to optimize performance 

Performance Tuning, Sizing, and Scaling Guide

How This Guide Is Organized

This guide provides a Sun Java System Web Server environment overview for designing web applications, and has the following chapters:

Documentation Conventions

This section describes the types of conventions used throughout this guide.

Product Support

If you have problems with your system, contact customer support using one of the following mechanisms:

Please have the following information available prior to contacting support. This helps to ensure that our support staff can best assist you in resolving problems.