Tomcat: The Definitive Guide Reviews



Amazon.com Customer Reviews

room for improvement - Review written on April 16, 2006
* *
Rating: 2 out of 5
9 customers found this review helpful, 2 did not.

Chap 3: Deploying servlet and JSP Web Applications in Tomcat.
Writing a book about a servlet container whose app deployment methods have most users puzzeled is a challenge. I dont think this book does any better than the online docs (which are bad).

Chap 4: Tomcat performance tuning.
Capacity planning, now thats one area where my knowledge general and tomcatwise is a little thin - the chapter only list the topics but provide no hints or answers. Could have been interesting but wasted my time.

Chap 6: Tomcat security.
Locking down with java policy file, unix chroot and bsd chroot, request filter - wellwritten and very usefull.

Chap 7: Config files and their elements:
Hmm a new way to run the server on lower 1024 ports without root user - why present this now and not in chap 6? A few details from previous chapters repeated - dont the authors two talk together?

Chap 8: Debugging and troubleshooting:
Only the obvious things - too thin.

All in all i found the chapter on security and clustering usefull but the book as a hole seems to lack a clear structure/vision and some chapters dosent do more for me than the lousy online docs. Configuring tomcat is not easy and this book dosent help much. Never the less i like working with tomcat! :)
Definitely not for advanced users - Review written on March 23, 2006
* * *
Rating: 3 out of 5
5 customers found this review helpful, 2 did not.

This book is for beginners who are not familiar with Tomcat. Or, for users who are just learning how to use it. But not for advanced users.
Very easy to understand and tells you stuff you need to know - Review written on January 15, 2005
* * * * *
Rating: 5 out of 5
11 customers found this review helpful, 2 did not.

I'm just getting into JSP/Servlet via Tomcat 4. I found this book very easy to read and understand. I was actually reading through the book at the bookstore. It was exactly what I was looking for as a person with limited UNIX and J2EE experience.

The book clearly tells you what you need to do and tells you how to confirm that something is working. Of greatest interest to me was how Tomcat would be implemented. The book listed the 4 ways to integrate Tomcat with an existing Apache server running in addition to running Tomcat as a stand-alone HTTP server. The book is sensitive to readers that may be running Tomcat on several platforms other than UNIX and XP. I found this book to be informative. I highly recommend it.
Good thorugh reference for all aspects of tomcat admin - Review written on November 12, 2004
* * * * *
Rating: 5 out of 5
12 customers found this review helpful.

First note that this book is for tomcat 4, not 5. Hopefully there will soon be an up to date version of this book available.

Note also that this book is from an administrator's perspective, not a developer's. You won't learn how to write custom tag libs from reading this.

Note also that if you are new to tomcat, and just want to get the thing running, there is sufficient on line documentation to do this at the jakarta site. Don't spend money on this book unless you want a solid administration reference.

That being said, it is an great reference to all aspects of tomcat administration. Every element of every configuration file is explained. Also, there is an excellent chapter on tomcat security.
Easy to Understand - Review written on May 21, 2004
* * * * *
Rating: 5 out of 5
7 customers found this review helpful.

I found this easy to understand and comprehensive. Instructions are easy to follow. You can get started in less than 10 minutes. The first chapter covers the installation in almost all operating systems where Java is available, which is good especially if you are not using the mainstream OS's.

Most material can probably be found in Tomcat's website itself, but this book still has good value for money. You might also want to look at Wrox' "Professional Apache Tomcat", which is equally good. For advanced users, you might want to check "How TOmcat Works" (download sample chapters from the publisher's site first because as I said this is not for beginners) that covers beyond configuration and administration.

rushed and shallow - Review written on March 06, 2004
*
Rating: 1 out of 5
7 customers found this review helpful, 3 did not.

while the book may be useful for getting started/familiar with tomcat for system administrator new to JSP/servlet containers, the coverage is very shallow. touches on subjects without getting enough depth to be useful (optimization, security).

i get the sense the book may have been rushed. it's understandable, perhaps, given that as popular as tomcat is, there is dearth of printed documentation for it, and author/o'reilly felt the need to fill the gap asap.

revised edition with in-depth coverage of various parts of tomcat would be welcome (but the software changes quickly enough that printed publication like this may not be able to keep up and be profitable)

Concise, Organized and Well Written - Review written on February 19, 2004
* * * * *
Rating: 5 out of 5
6 customers found this review helpful, 2 did not.

This book is a great, concise guide to setting up and administering Tomcat. No assumptions are made that you have years of Java or system administration experience. The book directly tackles ninety-eight percent of the questions that the average Tomcat administrator is going to have without having to sift through thousands of pages of worthless fluff. I was able to sit down and read the book over a single weekend.

As concise and straightforward as the book is, it still takes on the more complex topics like Building Tomcat from Source, Tomcat Security, and Tomcat Clustering. But I imagine that, like me, you will end up permanently creasing the book binding on Chapter 7: Configuration Files and Their Elements. Especially if you actually end up setting up and running Tomcat.

In typical O'REILLY style the book is well organized and well written. It is not one of those technical books that require reading the same sentence three times just to understand its content. Instead the authors have an easy to read style that gracefully flows from topic to topic.

Thanks to the authors Jason Brittain and Ian F. Darwin and of course to O'REILLY for another worthy edition to my reference library.

A Must-Have - Review written on February 01, 2004
* * * * *
Rating: 5 out of 5
3 customers found this review helpful, 1 did not.

Tomcat The Definitive Guide is absolutely a must have for anyone setting up Tomcat. I have a Mac OS X machine and the directions in the book were perfectly clear as to how to setup, auto-start when rebooting, and a huge number of other points. What I love about this book and in general all of the O'Reilly books is their ability to cover the issues completely without too much explanation or too little. This book always points you to where you can get more information. It's also got a great discuss on whether to integrate Apache with Tomcat or just run Tomcat. I changed the way I had it configured after reading their very thoughtful discussion.

This book is excellent as a reference for JSP developers as well (of course if you are doing JSP under Tomcat). It doesn't teach you how to do JSP. It does give you a good background for how your JSP pages are executed and how Tomcat reacts to requests.

TOMCAT - SERIOUS LEVEL GUIDANCE - Review written on November 25, 2003
* * * *
Rating: 4 out of 5
2 customers found this review helpful.

In short, this book provides comprehensive instructions for almost anyone wanting to deploy the TOMCAT Server. This book is a good starting place for programmers or admins who expect to quickly understand basic concepts.

Chapter-by-chapter the book presents new concepts accompanied by examples and descriptions for installing, configuring, and some debugging of the servlet engine. While the book tends to be Unix-centric, information for other Operating Environments is provided. Each successive chapter tends to expand on the previous chapter increasing the reader's knowledge along the way. It adequately serves as an introduction to Tomcat but it is also a good book to keep around as a technical administrative reference.

The book provides specific information on Tomcat interfaces and components through a "user guide" type format. For example, information is presented for Tomcat's setup, configuration files, environment variables, servlets and JSP's, JDBC, SSL and much more. What this book is not is a programmer guide but is a good how-to for programmers wanting to administer the server. Examples are provided for using and running Tomcat as a stand-alone web server.

In summary, this book is a success in explaining the relatively technical concepts of Tomcat and also provides very useful and relevant information about Tomcat features.

Ideal for System Admins - Review written on November 19, 2003
* * * * *
Rating: 5 out of 5
1 customer found this review helpful.

If you are a System Admin, and you want to learn how to effectively run and maintain a Tomcat web server, this is the book for you. I found myself in this very situation not too long ago. After reading sparse Tomcat docs (and getting very confused) I bought this book, read it in a few days. Before long, I was running a proper Tomcat web server for a few users.

I cannot speak for the development side of this book, though I think this book gave a nice introduction to JSPs and servlets for someone who is not a Java programmer. I can speak for the administrative side of it, and it is very good.

The authors are very thorough in showing you how to setup a Tomcat server, and provide a couple different setups to use, and how to approach each. In addition, they cover security, dealing with users, and configuring the server.

For setting up and running a Tomcat server, this book is certainly a good buy. If you are a web server admin, take the time to read this book. :)

Tomcat - not yet a Definitive Guide - Review written on September 21, 2003
* *
Rating: 2 out of 5
8 customers found this review helpful, 2 did not.

This is not yet one of those really "Definitive Guides" as O'Reilly has published so many in the past, and that so far have always helped me out. For a relatively unexperienced Web app developer like me, too many topics are left untouched.
For instance, not a word on the many class loaders used by Tomcat, of which the one used for applications is named WebappClassLoader - my initial lack of understanding of this Tomcat idiosyncrasy has caused me a lot of trouble in the past, and this book would not have helped me.
I'm also missing the expected good advice on how to use the various directories in the Tomcat tree (common, shared) for storing common jar files.
The several ways in which a web application can be configured (with or without web.xml, with or without mapping) are described, but how a full URL will look like in each variation is left as an exercise for the reader.
I have just started to scratch the surface of development with Tomcat, and no doubt I will later on find much of value in this book, but so far I am not impressed.
THE Tomcat Bible - A must own book for anyone using Tomcat - Review written on September 07, 2003
* * * * *
Rating: 5 out of 5
19 customers found this review helpful, 2 did not.

Tomcat: The Definitive Guide is a great book about the most commonly used open-source servlet/JSP container. Tomcat is the official Reference Implementation for the Java Servlet and JavaServer Pages technologies. Tomcat is really powerful and flexible, but you really need a good book to figure out how to integrate Tomcat with Apache, how to set load-balancers, clustering, etc on all of the major platforms, including Windows, Solaris, Linux, and Mac OS X.

This is where Tomcat: The Definitive Guide comes in. This really well written book makes it easy to follow for the developer as well as non-developer admin. The book starts with an introduction of Tomcat (v4.0) where you learn how to stop/start the server, learn about the directory structure, and learn to modify the start/stop scripts as well as the configuration settings. I really like the treatment given to security, realms and JAAS in the second chapter with more details in the sixth chapter. Most books of this type will leave out security and this book deals with it in the second chapter. Kudos to the authors for that.

I also really like the chapter on performance tuning that deals with real-world applications. The chapter on integration with the Apache webserver is really well written. Most people that deploy Tomcat in production will want to put Apache webserver in front of Tomcat to serve up static content like html and images while letting Tomcat handle servlets and JSPs. Most of the documentation about this Apache httpd - Tomcat integration on the Internet deals with v1.3 of Apache httpd. However, the book deals with Apache 2.0, which is another plus for the book.

I can go on and on - If you are using Tomcat, planning on using Tomcat or just want to learn more about the server, this book will provide you with all of the information to help harness Tomcat's power and wealth of features. I would highly recommend this book as a companion to any servlet/JSP programming book.

Another Great O'Reilly Title - Review written on August 02, 2003
* * * * *
Rating: 5 out of 5
20 customers found this review helpful, 1 did not.

Until I bought this book I had an agreement with Tomcat. Tomcat would serve my servlets like it was supposed to and I wouldn't try to pull any stunts. If I ran into something that wasn't working because of some setting or another in Tomcat, I avoided it. Now that I have this book, the agreement is off. This book is chock full of neat and useful tricks with some excellent examples. The book is very well written in true O'Reilly style (They even found a way to use the word "laconic" which I have never seen used in a computer book before). It illuminated various things I was unaware of, such as:

** How to run the web based Tomcat admin application
** Tomcat restart issues - this was especially interesting and gets to the heart of what java and tomcat really are.
** How to enable Tomcat's SSI servlet so that it will use your existing server-side includes

The book has lots of hints of the "I know how to do this in Apache httpd, but how do I do it in Tomcat?" variety. This is in addition to an entire chapter devoted to connecting Tomcat to Apache httpd.

The subject of a java web server will automatically bleed over into the subjects of Java and Unix and the book does a great job exposing the timid to Unix and Java concepts that help in understanding these technologies. For example, the book gives detailed instructions for setting up a chroot jail on a Unix type system.

I read the chapter on security several times because it is really foundational. It gets at the excellent security abilities of Java and explains them better than I have seen them explained elsewhere. It also gives the basics of possible vulnerabilities of any web application. The stuff in this section applies broadly to any Servlet container, but has a lot of specifics for Tomcat.

Obviously, all of the stuff in the book is available from the Java, Unix, or Tomcat documentation, but the book acts as a guide, pointing out key things in the documentation.

The only limitation of the book that I could tell was that the authors are exclusively from a Unix background. This has the result of making the book slanted towards Linux/Unix. There are a couple of things that the authors show how to do on Unix but leave the impression that there is no way to do it on Windows. For example they say, "Unix type operating systems, run netstat from the command line to see the open ports. You can do this on Windows as well. They also give a Unix shell script that organizes log files so that they look like Apache httpd log files. It would have been nice to offer one for windows as well or at least give a hint for how to do so. A lot of people use Tomcat on windows as a development environment and they should not be ignored.

In summary, the book succeeds in both broad concepts that deal with running any java web server and in exposing the finer details of Tomcat in particular. Another reviewer asked if this was really "Vital Information for Tomcat Programmers and Administrators" as the subtitle says. I would say yes. You get details of programming Tomcat through the configuration files and crucial details for how Tomcat settings affects how your servlets behave. Perhaps they are asking about messing around with the source code of Tomcat? Then no, it is not about programming Tomcat in that sense.

Most concise Tomcat book yet - Review written on July 07, 2003
* * * * *
Rating: 5 out of 5
33 customers found this review helpful, 2 did not.

I just got this book saturday (it's now monday) and this book has already helped me solve two problems and clairify my Tomcat thinking. This book is the best Tomcat book yet for Administrators. I have used the others (Professional Apache-Tomcat, Mastering Tomcat Development, and Apache-Jakarta Tomcat), but this one has been the best. It is very well organized and has some great helps in it. It does not try to cover everything, but it focuses on some. For example, Tomcat 3 is not covered by this book. Mod_webapp is not covered, but mod_jk2 is very well covered. The authors covers how to secure Tomcat through chroot (using a special file they ported from OpenBSD called jbchroot.c), run Tomcat as an unpriviledged user on port 80, Clustering with or without Apache, Apache integration is given REAL coverage. The best thing about this book is the focus on Administration and not development, this is obviously for administrators. The other books were focused on developers and were either way to short or had way too much scattered and confused information. Admins like things well organized and consistant.
If you are a Sys Admin and need a book on Tomcat administration, get this book and forget about the rest.
Fast Changing Tomcat - Review written on July 06, 2003
* * * * *
Rating: 5 out of 5

Projects from Apache Jakarta must be hard to write about since they change so fast. The projects are open source and, in the case of Tomcat, considered to be specification implementations. This makes it very difficult to find an up-to-date text on the projects.

Tomcat: The Definitive Guide addresses the latest technology in the Tomcat project. You will find the latest information on configuring Tomcat and also on 3rd party tools related to the technology. It's the best book available on the topic...for now. Let's hope the projects reach some level of stability (like Apache, Linux, etc.) at which point books will be easier to write and more helpful.