EARTH WEEK
Now through April 22, save up to 70% on digital learning resources. Learn more.
Rough Cuts are manuscripts that are developed but not yet published, available through Safari. Rough Cuts provide you access to the very latest information on a given topic and offer you the opportunity to interact with the author to influence the final publication.
This is a working draft of a pre-release book. It is available before the published date as part of the Rough Cuts service.
Sun Web Server: The Essential Guide
William Nelson • Arvind Srinivasan • Murthy Chintalapati (CVR)
Foreword by Scott G. McNealy
The authoritative, comprehensive guide to Sun Web Server 7.0
Sun Web Server is the secure web serving platform of choice for large-scale enterprises in industries from finance and telecommunications to travel and government. Now there’s a complete, detailed guide to the latest Sun Web Server 7.0 release. Drawing on unsurpassed experience both training and supporting Sun’s enterprise customers, this book’s authors cover everything that developers, administrators, and architects need to know to implement and support Sun Web Server 7.0 within a single node or across an entire server farm.
Server administrators will find task-focused coverage and hands-on examples for installation, configuration, cluster management, monitoring, and troubleshooting. Developers and architects will gain powerful insights into Sun Web Server’s internals and learn how to extend its built-in functionality. Enterprise deployment specialists will find indispensable information on sizing and tuning, plus reference configurations to deploy advanced Web 2.0–style dynamic web sites. Whatever your role, this book will help you hit the ground running and get superior results for years to come. Coverage includes
• Taking advantage of Sun Web Server 7.0’s powerful new features
• Walking through initial installations and upgrades
• Customizing Sun Web Server’s HTTP request processing to your specific requirements
• Building dynamic content with scripting languages and server-side Java-based extensions
• Creating secure dynamic Web 2.0 sites with your dynamic content and database technologies of choice
• Monitoring server instances in live production environments and optimizing performance
• Resolving server errors and other anomalies in Web Server runtime behavior
• Using actual server configuration files from Sun’s own large-scale technology deployments
• Using the detailed reference information on Sun Web Server’s main server configuration file
About the Web Site
This book’s companion web site, www.sunwebserver.com, contains FAQs, errata, answers to self-paced exercises, and links to download locations and product forums.
About the Authors
William Nelson has more than 20 years of experience as a developer, instructor, author, consultant, and project manager. He has authored more than 10 Sun Microsystems courses on the Java Enterprise System, and currently manages a professional services organization that specializes in identity and access management. Arvind Srinivasan, an architect on the Sun Web Server development engineering team, has served as technical lead for the Servlet/JSP container of Sun’s Web Server and Application Server. He is co-author of Java Networking and <
Chapter 1 Introduction to Sun Java System Web Server 7.0
What Is New in Sun Web Server 7.0?
1.1 Earlier Versions of Sun Web Server
1.2 Sun Java System Web Server 7.0—A Conceptual Overview
1.3 Core Web Server Improvements
1.3.1 Web Server Core Subsystem
1.3.2 Configuration Enhancements
1.3.3 Core Subsystem Improvements
1.4 Manageability Enhancements
1.4.1 Web-Based Graphical Administrator Interface
1.4.2 Command-line Administrator Interface
1.4.3 Cluster Management
1.5 Security Improvements
1.6 Web Application Ease of Development and Deployment
1.7 Interoperability Improvements
1.8 Internationalization (I18N) and Globalization (G11n) Support
1.9 Summary
1.10 Self-Paced Labs
Chapter 2 Web Server 7.0 Architecture
2.1 Server Processes
2.2 Web Server Architecture
2.2.1 Connection Handling Threads
2.2.2 Server Application Functions
2.2.3 NSAPI Engine
2.2.4 Process Modes
2.2.5 Native Thread Pools
2.2.6 Content Handling Subsystem
2.2.7 Security and Access Control
2.2.8 Reverse Proxy
2.2.9 Dynamic Reconfiguration
2.2.10 Pattern Matching
2.3 Administration Server Architecture
2.4 Dynamic Content
2.4.1 Common Gateway Interface
2.4.2 Server-Parsed HTML (SHTML)
2.4.3 FastCGI
2.4.4 Java
2.5 Multi-Threaded Architecture
2.6 64-bit Support
2.7 Summary
2.8 Self-Paced Labs
Chapter 3 Web Server 7.0 Installation and Migration
3.1 Supported Platforms
3.2 Obtaining the Software
3.3 Preparing for Installation
3.4 Installing the Software
3.4.1 The setup Command
3.4.2 Graphical Installation
3.4.3 Command-Line Installation
3.4.4 Silent Installation
3.5 Verifying the Installation
3.5.1 Installation Log Files
3.5.2 Server Processes
3.5.3 Directory Structure
3.5.4 Non-Windows Product Registry Entries
3.5.5 Windows Specific Entries
3.6 Post-Installation Tasks
&n