Wiley - Professional Apache Tomcat
Professional Apache Tomcat
Table of Contents
Chapter 1: Apache and Jakarta Tomcat
Humble Beginnings: The Apache Project
The Apache Software Foundation
Distributing Tomcat
The Big Picture: J2EE
Using Tomcat with the Apache Web Server
Summary
Chapter 2: JSP and Servlets
First Came CGI...
Then Servlets Were Born...
And On To JSPs...
Web Application Architecture
Java Site Architecture
Summary
Chapter 3: Tomcat Installation
Installing a JVM
Tweaking the JVM for Performance
Tomcat Installation
The Tomcat Installation Directory
Ant Installation
Installing Tomcat from Source
Troubleshooting and Tips
Summary
Chapter 4: Tomcat Installation Directory and Architecture
The Installation Directory
Tomcat Architecture
The Remaining Classes in the Tomcat Architecture
Summary
Chapter 5: Basic Tomcat Configuration
Component-Based Configuration
Files in $CATALINA_HOME/conf
Basic Server Configuration
Summary
Chapter 6: Web Application Administration
The Contents of a Web Application
The web.xml File
Summary
Chapter 7: Manager Configuration
Tomcat 3.x Administration Tool
Tomcat 4.x Manager Application
Tomcat Web Application Manager (4.1.7 Beta Only)
Tomcat Administration Tool (Tomcat 4.1 Only)
The Future
Summary
Chapter 8: Advanced Tomcat Features
Valves - Interception Tomcat Style
Standard Valves
Access Logs Implementation
Single Sign-On Implementation
Restricting Access Via a Request Filter
Persistent Sessions
JNDI Resource Configuration
Realms
Summary
Chapter 9: Class Loaders
Class Loader Overview
Security and Class Loaders
Tomcat and Class Loaders
Dynamic Class Reloading
Common Class Loader Pitfalls
Summary
Chapter 10: HTTP Connectors
HTTP Connectors
Running Tomcat Behind a Proxy Server
Using Coyote HTTP with Tomcat 3.3.x
Using Coyote HTTP with Tomcat 4.0
Performance Tuning
Summary
Chapter 11: Web Server Connectors
Connector Architecture
Choosing a Connector
Summary
Chapter 12: The WARP Connector
webapp Configuration
webapp Bugs and Issues
Summary
Chapter 13: The AJP Connector
mod_jk
Integrating Tomcat with Apache
Tomcat Load Balancing with Apache
Summary
Chapter 14: Tomcat and IIS
Concepts
Configuring IIS for Tomcat Out-of-Process
Adding Your Own Web Applications
Scalable Architectures with IIS and Tomcat
Running Tomcat In-Process
Log Files
Performance Tuning
Summary
Chapter 15: JDBC Connectivity
JDBC Basics
Tomcat and JDBC
Preferred Configuration: JNDI Resources
Alternative JDBC Configuration
Summary
Chapter 16: Tomcat Security
Some Basic Security Considerations
Securing the Filesystem
Securing Tomcat's Permissions
The Java Security Manager
Security Realms
SSL
SSL with Apache
Summary
Chapter 17: Additional Uses for Ant
Prerequisites
Introduction To Ant
Ant Build Process
Ant Build Status - E-Mail Notifications
Tomcat Ant Tasks
Summary
Chapter 18: Log4J
Log4J
Log4J in a Web Application
Summary
Chapter 19: Shared Tomcat Hosting
Virtual Hosting with Tomcat
Virtual Hosting with Tomcat 3.3
Virtual Hosting with Tomcat 4.x
Fine-Tuning Shared Hosting
Summary
Chapter 20: Server Load Testing
Elements of Scalability
Load Testing with JMeter
Server Load Testing vs. Application Load Testing
Summary
Appendix A: Axis
Installing Axis
Implementing Axis
Appendix B: Apache SSL Setup
SSL and Apache
Summary
Index
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
R
S
T
U
V
W
X
Z
Back Cover
Professional Apache Tomcat
Table of Contents
Chapter 1: Apache and Jakarta Tomcat
Humble Beginnings: The Apache Project
The Apache Software Foundation
Distributing Tomcat
The Big Picture: J2EE
Using Tomcat with the Apache Web Server
Summary
Chapter 2: JSP and Servlets
First Came CGI...
Then Servlets Were Born...
And On To JSPs...
Web Application Architecture
Java Site Architecture
Summary
Chapter 3: Tomcat Installation
Installing a JVM
Tweaking the JVM for Performance
Tomcat Installation
The Tomcat Installation Directory
Ant Installation
Installing Tomcat from Source
Troubleshooting and Tips
Summary
Chapter 4: Tomcat Installation Directory and Architecture
The Installation Directory
Tomcat Architecture
The Remaining Classes in the Tomcat Architecture
Summary
Chapter 5: Basic Tomcat Configuration
Component-Based Configuration
Files in $CATALINA_HOME/conf
Basic Server Configuration
Summary
Chapter 6: Web Application Administration
The Contents of a Web Application
The web.xml File
Summary
Chapter 7: Manager Configuration
Tomcat 3.x Administration Tool
Tomcat 4.x Manager Application
Tomcat Web Application Manager (4.1.7 Beta Only)
Tomcat Administration Tool (Tomcat 4.1 Only)
The Future
Summary
Chapter 8: Advanced Tomcat Features
Valves - Interception Tomcat Style
Standard Valves
Access Logs Implementation
Single Sign-On Implementation
Restricting Access Via a Request Filter
Persistent Sessions
JNDI Resource Configuration
Realms
Summary
Chapter 9: Class Loaders
Class Loader Overview
Security and Class Loaders
Tomcat and Class Loaders
Dynamic Class Reloading
Common Class Loader Pitfalls
Summary
Chapter 10: HTTP Connectors
HTTP Connectors
Running Tomcat Behind a Proxy Server
Using Coyote HTTP with Tomcat 3.3.x
Using Coyote HTTP with Tomcat 4.0
Performance Tuning
Summary
Chapter 11: Web Server Connectors
Connector Architecture
Choosing a Connector
Summary
Chapter 12: The WARP Connector
webapp Configuration
webapp Bugs and Issues
Summary
Chapter 13: The AJP Connector
mod_jk
Integrating Tomcat with Apache
Tomcat Load Balancing with Apache
Summary
Chapter 14: Tomcat and IIS
Concepts
Configuring IIS for Tomcat Out-of-Process
Adding Your Own Web Applications
Scalable Architectures with IIS and Tomcat
Running Tomcat In-Process
Log Files
Performance Tuning
Summary
Chapter 15: JDBC Connectivity
JDBC Basics
Tomcat and JDBC
Preferred Configuration: JNDI Resources
Alternative JDBC Configuration
Summary
Chapter 16: Tomcat Security
Some Basic Security Considerations
Securing the Filesystem
Securing Tomcat's Permissions
The Java Security Manager
Security Realms
SSL
SSL with Apache
Summary
Chapter 17: Additional Uses for Ant
Prerequisites
Introduction To Ant
Ant Build Process
Ant Build Status - E-Mail Notifications
Tomcat Ant Tasks
Summary
Chapter 18: Log4J
Log4J
Log4J in a Web Application
Summary
Chapter 19: Shared Tomcat Hosting
Virtual Hosting with Tomcat
Virtual Hosting with Tomcat 3.3
Virtual Hosting with Tomcat 4.x
Fine-Tuning Shared Hosting
Summary
Chapter 20: Server Load Testing
Elements of Scalability
Load Testing with JMeter
Server Load Testing vs. Application Load Testing
Summary
Appendix A: Axis
Installing Axis
Implementing Axis
Appendix B: Apache SSL Setup
SSL and Apache
Summary
Index
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
R
S
T
U
V
W
X
Z
Back Cover