Professional Apache Tomcat 6

  • 11h 7m
  • Jeff Genender, Sing Li, Vivek Chopra
  • John Wiley & Sons (US)
  • 2007

With this comprehensive resource, you'll uncover the ins-and-outs of installing, configuring, and running the Apache Tomcat server. This book not only provides a line-by-line analysis of configuration options, but also explores the features and capabilities of Tomcat. You'll then gain the skills to solve the type of problems that arise during all phases of system administration, including shared hosting, security, system testing, and performance testing and tuning.

Focusing exclusively on Tomcat 6, the book takes you through all of the latest architectural and performance changes. You'll progress from basic Tomcat and web application configuration to more advanced techniques for clustering, JDBC connectivity, logging, and much more. All of this will help you effectively manage and administer your Tomcat deployment.

What you will learn from this book

  • How to install the JVM and Tomcat on Windows and Unix/Linux systems
  • Steps for packaging and deploying web applications
  • Configuring Tomcat's internal HTTP protocol stack, including the new APR and NIO Connectors
  • Deploying Tomcat with the Apache Web server or Microsoft IIS as the front-end Web servers
  • Load balancing and clustering a farm of Tomcat servers
  • Ways to install Tomcat in virtual hosting situations
  • How to load test web applications deployed in Tomcat
  • Monitoring Tomcat servers in real-time by tapping into internally maintained statistics
  • Techniques for providing scalability and high availability to web applications
  • Performance tips and best practices for Tomcat 6

Who this book is for

This book is for J2EE system administrators and Java developers who are responsible for Tomcat configuration, performance tuning, system security, or deployment architecture.

About the Authors

Vivek Chopra has more than 13 years of experience as a software architect, developer, and team lead and has worked in a number of Silicon Valley companies and startups. He writes actively on technology and is the author of more than half a dozen books on Java, open source software, XML, and Web services. Vivek has pending patents on Web service technologies, and has been a Java Community Process (JCP) member for the past three years. He also serves on the expert group for JSR 280 (XML API for Java ME).

Sing Li (who was bitten by the microcomputer bug in the late 1970s) has grown up with the Microprocessor Age. His first personal computer was a $99 do-it-yourself Netronics COSMIC ELF with 256 bytes of memory, mail-ordered from the back pages of Popular Electronics magazine. A 20-year industry veteran, Sing is a system developer, open source software contributor, and freelance writer specializing in Java technology, and embedded and distributed systems architecture. He regularly writes for several popular technical journals and e-zines, and is the creator of the "Internet Global Phone," one of the very first Internet phones available. He has authored and co-authored a number of books across diverse technical disciplines including Geronimo, Tomcat, JSP, servlets, XML, Jini, media streaming, device drivers, and JXTA.

Jeff Genender has over 18 years of software architecture, team lead, and development experience in multiple industries. Jeff is an active committer and Project Management Committee (PMC) member for Apache Geronimo, and a committer on OpenTerracotta, OpenEJB, ServiceMix, and Mojo (Maven plug-ins). Jeff also serves as a member of the Java Community Process (JCP) expert group for JSR-313 (Java Platform, Enterprise Edition 6 [Java EE 6] Specification) as a representative of the Apache Software Foundation. Jeff is an open source evangelist and has successfully brought open source development efforts, initiatives, and success stories into a number of Global 2000 companies, saving these organizations millions in licensing costs.

In this Book

  • Apache Tomcat
  • Web Applications: Servlets, JSPs, and More
  • Tomcat Installation
  • Tomcat Architecture
  • Basic Tomcat Configuration
  • Advanced Tomcat Features
  • Web Application Configuration
  • Web Application Administration
  • Class Loaders
  • Bringing It All Together — A New Theme
  • Tomcat and Apache HTTP Server
  • Tomcat and IIS
  • JDBC Connectivity
  • Tomcat Security
  • Shared Tomcat Hosting
  • Monitoring and Managing Tomcat with JMX
  • Clustering
  • Embedded Tomcat
  • Logging
  • Performance Testing
  • Performance Tuning