Cider - Shop now
Buy used:
$9.68
Get Fast, Free Shipping with Amazon Prime
FREE delivery Tuesday, May 6 to Nashville 37217 on orders shipped by Amazon over $35
Or fastest delivery Monday, May 5. Order within 6 hrs 59 mins
Condition: Used: Good
Comment: This item shows wear including some highlighting or writing.
Access codes and supplements are not guaranteed with used items.
Kindle app logo image

Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.

Read instantly on your browser with Kindle for Web.

Using your mobile phone camera - scan the code below and download the Kindle app.

QR code to download the Kindle App

Follow the author

Something went wrong. Please try your request again later.

Tomcat: The Definitive Guide First Edition

3.9 out of 5 stars 18 ratings

Jakarta Tomcat is not only the most commonly used open source servlet engine today, it's become the de facto standard by which other servlet engines are measured. Powerful and flexible, it can be used as a stand-alone web server or in conjunction with another server, like Apache or IIS, to run servlets or JSPs. But mastery of Tomcat is not easy: because it's as complex as it is complete. Tomcat: The Definitive Guide answers vexing questions that users, administrators, and developers alike have been asking. This concise guide provides much needed information to help harness Tomcat's power and wealth of features.

Tomcat: The Definitive Guide offers something for everyone who uses Tomcat. System and network administrators will find detailed instructions on installation, configuration, and maintenance. For users, it supplies insightful information on how to deploy Tomcat. And seasoned enterprise Java developers will have a complete reference to setting up, running, and using this powerful software

The book begins with an introduction to the Tomcat server and includes an overview of the three types of server configurations: stand-alone, in-process, and out-of-process. The authors show how directories are laid out, cover the initial setup, and describe how to set the environment variables and modify the configuration files, concluding with common errors, problems, and solutions. In subsequent chapters, they cover:

  • The server.xml configuration file
  • Java Security manager
  • Authentication schemes and Tomcat users
  • The Secure Socket Layer (SSL)
  • Tomcat JDBC Realms
  • Installing servlets and Java Server Pages
  • Integrating Tomcat with Apache
  • Advanced Tomcat configuration
and much more.

Tomcat: The Definitive Guide covers all major platforms, including Windows, Solaris, Linux, and Mac OS X, contains details on Tomcat configuration files, and has a quick-start guide to get developers up and running with Java servlets and JavaServer Pages. If you've struggled with this powerful yet demanding technology in the past, this book will provide the answers you need.

There is a newer edition of this item:

Tomcat: The Definitive Guide
$20.07
(36)
Only 1 left in stock - order soon.

From the brand

Editorial Reviews

About the Author

Jason Brittain is a Senior Software Engineer at CollabNet Inc., where he works on collaborative software-project-hosting-infrastructure software made up of more than 50 open source software package codebases. Jason's specialties include dynamic web development, Java application servers, high availability and fault tolerance, clustering, and Jakarta Ant build systems. He has contributed to many Apache Jakarta projects and has been an active open source software developer for several years.

Product details

  • Publisher ‏ : ‎ O'Reilly & Associates; First Edition (June 1, 2003)
  • Language ‏ : ‎ English
  • Paperback ‏ : ‎ 250 pages
  • ISBN-10 ‏ : ‎ 0596003188
  • ISBN-13 ‏ : ‎ 978-0596003180
  • Item Weight ‏ : ‎ 1.13 pounds
  • Dimensions ‏ : ‎ 7 x 0.74 x 9.19 inches
  • Customer Reviews:
    3.9 out of 5 stars 18 ratings

About the author

Follow authors to get new release updates, plus improved recommendations.
Ian F. Darwin
Brief content visible, double tap to read full content.
Full content visible, double tap to read brief content.

Ian has worked in the computer field for decades, on devices ranging in size from IBM mainframes down to pocket-sized devices like Android. He's written several O'Reilly books over the years, including the long-ago "Checking C Programs with Lint", the "Java Cookbook" which was translated into at least ten languages, and the "Android Cookbook". Ian also develops and teaches technology courses for companies like Learning Tree International and runs his own consultancy, RejmiNet Group Inc. He lives on a hobby farm north of Toronto with his wife, a cat and (formerly) some chickens - which explains, at long last, the animal on the cover of the Java Cookbook.

Customer reviews

3.9 out of 5 stars
18 global ratings

Review this product

Share your thoughts with other customers

Top reviews from the United States

  • Reviewed in the United States on November 30, 2008
    Seller was great.

    This is an outstanding book. Great instructions and explanations for installation and configuration on both Windows and Unix.

    Check before buying the version of Tomcat you are using and which this book covers asa there are many different editions/versions.
    One person found this helpful
    Report
  • Reviewed in the United States on August 2, 2003
    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.
    25 people found this helpful
    Report
  • Reviewed in the United States on July 29, 2008
    As most O'Reilly books, this *was* an outstanding, readable, and indispensable guide for Tomcat development and administration. Unfortunately, it's sadly outdated: this book only covers version 4, while versions 5, 5.5, and 6 introduce many, many innovations and changes, and you don't want to waste time reading material that doesn't apply to the current versions. It is unfortunate that this book is still being for sale. This book has well deserved stars, but those starts are now obsolete. We all Tomcat lovers are looking forward for an updated edition.
    7 people found this helpful
    Report
  • Reviewed in the United States on July 7, 2003
    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.
    48 people found this helpful
    Report
  • Reviewed in the United States on March 10, 2007
    This book is hopelessly incomplete. I'm always having to augment it's contents with on-line information. I just attempted to determine the difference between "path" and "docBase" in the "Context" tag in the server.xml file but again it struck out. All page 175 says is that "context" configures the web application directory within a host. End of story. I strongly suggest that you look to another source for Tomcat.
    6 people found this helpful
    Report
  • Reviewed in the United States on September 21, 2003
    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.
    9 people found this helpful
    Report