11 of 11 people found the following review helpful:
4.0 out of 5 stars
great book for devs and sysadmins, February 15, 2010
This review is from: Tomcat 6 Developer's Guide (Paperback)
I've been writing Java webapps and using tomcat on production for the past 5 years.
This book is the best and most complete tomcat analysis book I've read. It is for developers and sysadmins, and it gives both the high level and very detailed views of the system. It starts by taking you through building your own tomcat from source (using ant and eclipse) and extensively explains the servlet spec, JNDI and all parts of the container. It also unravels a very dark corner of java (which directly relates to web containers), the classloader, in a way which does make sense.
The book shows all the configuration details, in a pragmatic way. Some of the options and usage patterns are not that well written on the official tomcat documentation site.
While reading it I improved my tomcat configuration on production by reducing the memory footprint of the container. I also vastly improved my understanding on the servlet spec, web containers and tomcat itself so I had a chance to improve parts of my production code.
The book is very well written and the only disadvantage is that at some parts you feel like the author steps through the code describing it in English. Fortunately these parts are few and short.
All in all, the amount of knowledge this book gives is great and nowhere else to be found is such cohesive way.
Help other customers find the most helpful reviews
Was this review helpful to you? Yes
No
1 of 1 people found the following review helpful:
5.0 out of 5 stars
Great guide to the Tomcat codebase, November 23, 2011
This review is from: Tomcat 6 Developer's Guide (Paperback)
The book is very wholistic in its approach to educating the reader. It provides a well-written overview of JavaEE and HTTP in Chapter 2. And whenever it mentions a technology that Tomcat uses in some way, it immediately gives a brief overview of that technology. I found this helpful because it gave me the knowledge I needed to continue reading without having to switch to a search engine. For example, in Chapter 5, when discussing the JNDI functionality that Tomcat comes packaged with, the book pauses for a moment to explain the basic concepts of JNDI itself. The book will also often describe the historical origins of the technology, like in Chapter 1, where it discusses the origins of Ant (spoiler alert: it was created as a custom build system for Tomcat).
The instructions for downloading the Tomcat source code and building it are very clear. It provides a specific branch you can checkout from the Tomcat Subversion server, which is the exact version of Tomcat that was used when writing the book. This allows you to follow along without worrying about dealing with differences between what you see in the code and what you see in the book. And it also includes instructions for getting the project properly configured with Eclipse.
The later chapters of the book go into a lot of detail about the various classes that make up the Tomcat source code, so be prepared for some serious code spelunking. Anyone who is interested in doing serious coding in the Tomcat codebase will gain a lot from these chapters.
I'd recommend this book to people who want to work on the Tomcat source code and need something to guide them through it. I'd also recommend the book to JavaEE developers who use Tomcat on a regular basis and who want to expand their knowledge.
Help other customers find the most helpful reviews
Was this review helpful to you? Yes
No