11 of 11 people found the following review helpful:
5.0 out of 5 stars
Very thorough, lots of practical information, December 27, 2002
I was quite pleased with this book. I've been active on the Tomcat mailing lists for many months, and have seen the level of frustration experienced by new users firsthand due to the existing Tomcat documentation. While lack of solid documentation is one of the problems most open source projects face, there are always books written as supplements, and of the Tomcat books I have read, this one stands out far above the rest.
In particular, I found the chapters on Shared Tomcat Hosting (Chapter 19), Log4J (Chapter 18), Server Load Testing (Chapter 20), and the web server connectors to be the most valuable. Most of the traffic on the mailing lists is generated from problems using the connectors, and the authors went to great lengths to explain their configuration and usage in a clear and concise manner, even in a load balancing environment.
For systems administrators in a corporate or ISP environment, the chapter on shared hosting is worth the price of the book all by itself. It lays out how to handle shared hosting with Tomcat solo as well as integrated with Apache, and also describes setting up a separate JVM for each virtual host, something that can be critical to making system administration easy. After all, you don't want a problem with one client's Tomcat to cause problems for other clients.
The book deserves the use of the word "Professional" in its title, as it goes way beyond simply setting up Tomcat to work with servlets and JSP. Especially in later chapters, the issues encountered by administrators and developers in a professional or corporate, mixed-use environment are covered concisely and thoroughly.
All told, one of the better technical books I have read, and I have read more than I care to count. In addition to being a solid reference, this book gave me information I was able to use at an advanced level right away on my own servers for my own clients. You can't ask for more than that.
Help other customers find the most helpful reviews
Was this review helpful to you? Yes
No
13 of 14 people found the following review helpful:
5.0 out of 5 stars
The Definitive Tomcat Book, October 30, 2002
Tomcat is a subproject of the Apache Software Foundation's Jakarta project, its purpose being to serve Java Servlets and JavaServer Pages. It's a complex piece of software and though the documentation is very comprehensive, it helps to have a good reference work to hand. There aren't many books on the subject to choose from, so a publisher could make a fast buck putting out an incomplete work lacking in depth. Fortunately Wrox Press has excelled itself with its new publication Professional Apache Tomcat.
The book covers every aspect of installing and configuring Tomcat in a great deal of detail, detailing its every aspect. From standalone use (where Tomcat is used as a general web server as well as for serving Java content), to integration with the leading web servers Apache (both Unix and Windows versions) and Microsoft's Internet Information Services, nothing appears to have been left out (however, integration with Netscape's Enterprise Server is mentioned in passing early on, but doesn't appear again).
Being only a month old, it's pretty much bang up to date, covering Tomcat 3.x, 4.0.x and 4.1.x with Apache 1.3.x and 2.0.x and IIS 4 and 5.
The book starts with an introduction to the Apache project, and Tomcat's place in the wider scheme of things. The historical progression in serving dynamic web content from CGI to Servlets and JSP is charted, and there's an overview of JSP tags and general web application architecture. This is interesting enough and useful as background, but as this book is intended for administrators, it's covered quickly in the first two chapters, and the main business of installing Tomcat gets underway in chapter 3.
Installation is discussed with both Windows and Linux users in mind, from both binary and source distributions. As the Tomcat source is usually built with Ant, build and installation of this tool is also discussed (Ant and Log4j, both also part of Jakarta, get chapters of their own later in the book). From there, basic configuration of the standalone server followed by detailed examinations of the components that make up Tomcat's architecture fill the next 200 or so pages.
Serious users of Tomcat will wish to employ Tomcat with an existing web server, and four chapters concentrate on this job. Though there is inevitably a certain amount of detail aimed at Apache and IIS configuration, and a basic knowledge of both is assumed throughout. However, any necessary information is included in detail; for example the (Apache) connector modules mod_webapp and mod_jk/jk2 are given a thorough treatment, describing their use from source installation to configuration, together with the pros and cons of the various connectors available. Beyond that, we learn how to design larger-scale setups, with an explanation of load balancing techniques and scaling of the system, and performance testing with JMeter, yet another Jakarta project component.
As ever, security is a major concern and gets a lot of emphasis. Before client authentication and the use of SSL are discussed, there's an overview of basic system security with Unix and Windows..... More interesting are the sections on security realms and user/client authentication. We are presented with examples of authenticating against a MySQL database with JDBC (database connectivity with JDBC is a big enough subject in its own right, and so gets a separate chapter too), and digest authentication. We then move on to encryption with SSL: using Tomcat itself with the JSSE and PureTLS Java SSL implementations, then later with Apache and SSL (setting up mod_ssl with Apache gets a very useful appendix of its own, taken from Professional Apache 2.0, another Wrox book). Again, there's lots of detail, right down to how to get hold of signed certificates for your server. Here the book's general emphasis on Apache over IIS is most apparent, as SSL with IIS is not discussed at all. However, I have no experience with IIS, so I can't say for sure how important this omission might be.
With nine co-authors (though only four got onto the cover photograph - ...one might expect wildly different styles throughout the book, but each chapter is consistently and clearly laid out with diagrams and relevant configuration file fragments where necessary. At each stage, variations between different versions of each component are made clear.
Professional Apache Tomcat is surely the definitive book on the subject. I recently used it to integrate Tomcat 4 with an existing Apache 2 installation, and everything went very smoothly. More than just a set of tutorials it offers a thorough description of the whole architecture, and makes an excellent companion to Wrox's Professional Apache.
Help other customers find the most helpful reviews
Was this review helpful to you? Yes
No
8 of 8 people found the following review helpful:
5.0 out of 5 stars
Wow--A *very* thorough guide to Tomcat, January 6, 2003
If you use Tomcat, this book is almost a must. This book will teach the reader not only how to install Tomcat, but configure it for optimal performance. In the first few hours with the book, I had learned how Tomcat actually worked, how to connect Tomcat with my Apache server, and how to configure those sometimes cryptic server.xml and web.xml files. The book also has a chapter on JDBC for readers interested in using web-based databases and has a separate chapter for two other open-source programs: Ant and Log4J.
Some web-admin pros probably will not need this book, and yes, some of the information the book provides can be found for free sprinkled throughout the web. However, it cannot be denied that the Jakarta Project's own documentation on Tomcat (as well as the open-source Tomcat book on Sourceforge.net) are definitely not as thorough or good as "Professional Apache Tomcat," not to mention that the book provides a convenient one-stop source for all questions.
Many other reviewers agree: "Professional Apache Tomcat" is worth its weight in gold if you use Tomcat extensively.
Help other customers find the most helpful reviews
Was this review helpful to you? Yes
No