Synopses & Reviews
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.
Wrox Professional guides are planned and written by working programmers to meet the real-world needs of programmers, developers, and IT professionals. Focused and relevant, they address the issues technology professionals face every day. They provide examples, practical solutions, and expert education in new technologies, all designed to help programmers do a better job.
- Tomcat is the official reference implementation of Sun's servlet and JSP specifications, and Java developers must test all Web applications on Tomcat to ensure they work as designed
- Boasting more than 40 percent new and updated material, this book covers all the major new features affecting server administration and management
- Explores the additional built-in tools of Tomcat, which help Java developers program more efficiently, and looks at how Apache's other open source servlet/JSP technologies are designed to work with Tomcat
- Features full coverage of Release 6, which supports the latest JSP and servlet specifications: JSP 2.1 and Servlets 2.5
- Addresses solving real-world problems encountered during all phases of server administration, including managing class loaders and connectors, security, shared hosting and clustering, and system testing
* Addresses solving real-world problems encountered during all phases of server administration, including managing class loaders and connectors, security, shared hosting and clustering, and system testing
About the Author
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 plugins). 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.
Table of Contents
Chapter 1: Apache Tomcat.
Chapter 2: Web Applications: Servlets, JSPs, and More.
Chapter 3: Tomcat Installation.
Chapter 4: Tomcat Architecture.
Chapter 5: Basic Tomcat Configuration.
Chapter 6: Advanced Tomcat Features.
Chapter 7: Web Application Configuration.
Chapter 8: Web Application Administration.
Chapter 9: Class Loaders.
Chapter 10: HTTP Connectors.
Chapter 11: Tomcat and Apache HTTP Server.
Chapter 12: Tomcat and IIS.
Chapter 13: JDBC Connectivity.
Chapter 14: Tomcat Security.
Chapter 15: Shared Tomcat Hosting.
Chapter 16: Monitoring and Managing Tomcat with JMX.
Chapter 17: Clustering.
Chapter 18: Embedded Tomcat.
Chapter 19: Logging.
Chapter 20: Performance Testing.
Chapter 21: Performance Tuning.
Appendix A: Tomcat and IDEs.
Appendix B: Apache Ant.