Jump to ratings and reviews
Rate this book

Apache Tomcat 7

Rate this book
Apache Tomcat is the most popular open-source de-facto Java Web application server, standard for today's Web developers using JSP/Servlets. Apache Tomcat 7 covers details on installation and administration of Apache Tomcat 7. It explains key parts of the Tomcat architecture, and provides an introduction to Java Servlet and JSP APIs in the context of the Apache Tomcat server. In addition to basic concepts and administration tasks, Apache Tomcat 7 covers some of the most frequently used advanced features of Tomcat, including security, Apache web server integration, load balancing, and embedding Tomcat server in Java applications. Finally, through a practical primer, it shows how to integrate and use some of the most popular Java technologies with Apache Tomcat. In summary, Apache Tomcat 7 offers both novice and intermediate Apache Tomcat users a practical and comprehensive guide to this powerful software.

296 pages, Paperback

First published January 1, 2011

13 people want to read

About the author

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
1 (9%)
4 stars
3 (27%)
3 stars
6 (54%)
2 stars
1 (9%)
1 star
0 (0%)
Displaying 1 of 1 review
156 reviews
October 3, 2012
A middling discussion of how to configure and use Tomcat 7. At first I was pleased to see that unlike, for example, Professional Apache Tomcat 6 which is 629 pages long, this one comes in at a lean 296. Unfortunately, I learned there's a reason for this.

As an introduction for someone new to Tomcat, the book is serviceable. It deals with configuring and managing Tomcat, writing Servlets and JSPs, session management, security, valves and servlet filters, logging, and it even has chapters on how to integrate Apache with Tomcat, how to integrate Spring and how to configure JNDI in Tomcat.

The problem is that none of these issues are discussed in any great depth. Ideally, such a book should provide a detailed explanation for how Tomcat works and why it works this way, while pointing to the official documentation where the minute details are concerned. What we get here is more of an overview discussion, while the user is left on his own if he wants more detailed information.

For instance: the AJP connector is discussed in no great detail. There's no discussion of how class loading works in Tomcat (something that many users and admins will need to know). Virtual hosting is discussed only briefly, and the NIO connector and asynchronous IO support are discussed not at all.

Apart from that the book is riddled with typos, errors in the code listings, various grammatical mishaps, and outright errors. It repeatedly mentions the <metadata-complete> element when this is in fact an attribute of the parent <web-app> element, and it implies that Apache web server modules on windows have the .dll extension, when in fact the Windows version of httpd can load either .dll or .so files.

This book is adequate as an introduction to Tomcat, as long as the reader is willing to do some legwork (test the book's claims and consult the official documentation). It is lacking as a reference. The above mentioned Professional Apache Tomcat 6, though dealing with Tomcat 6 rather than 7, is probably a better choice, especially if one pairs it with the official documentation.
Displaying 1 of 1 review

Can't find what you're looking for?

Get help and learn more about the design.