Buy New

or
Sign in to turn on 1-Click ordering.
or
Amazon Prime Free Trial required. Sign up when you check out. Learn More
Buy Used
Used - Very Good See details
$13.68 & eligible for FREE Super Saver Shipping on orders over $25. Details

or
Sign in to turn on 1-Click ordering.
 
   
Sell Back Your Copy
For a $0.39 Gift Card
Trade in
More Buying Choices
Have one to sell? Sell yours here
How Tomcat Works
 
 
Tell the Publisher!
I'd like to read this book on Kindle

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

How Tomcat Works [Paperback]

Budi Kurniawan (Author), Paul Deck (Author)
4.2 out of 5 stars  See all reviews (17 customer reviews)

Price: $54.95 & this item ships for FREE with Super Saver Shipping. Details
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.
Only 3 left in stock--order soon (more on the way).
Want it delivered Tuesday, January 31? Choose One-Day Shipping at checkout. Details

Book Description

April 2004
How Tomcat Works is the only book that explains the internal workings of Tomcat, the open source project used by millions of Java developers. Unlike other Tomcat titles, it is unique because it does not simply covers the configuration or servlet development with Tomcat. Rather, this book is meant for advanced readers interested in writing their own Tomcat modules or in understanding more beyond servlet/JSP programming.
The authors of this book have cracked open Tomcat 4 and 5 and revealed the internal workings of each component. Upon understanding the contents of this book, you will be able to develop your own Tomcat components or extend the existing ones.

In particular, this book explains:
- How to develop Java web servers
- Whether or not more Tomcat creates more than one instance for each servlet
- How Tomcat runs a servlet that implements the SingleThreadModel interface
- Why you cannot change the value of request parameters.
- The two main modules of a servlet container: connector and container
- How to build your own connector or extend the existing ones
- The four types of containers: engine, host, context, wrapper
- How Tomcat manages sessions and how to extend the session manager in a distributed environment.
- The class loader and how to create custom loaders
- How Tomcat implements security and basic/form-based/digest authentication
- How realms and login configuration work.
- How Tomcat processes the configuration file (server.xml) and converts the XML elements to Java objects using Digester
- Tomcat's shutdown hook
- JMX, Apache's Commons Modeler, and Tomcat JMX manageable resources

Frequently Bought Together

How Tomcat Works + Apache Tomcat Bible + Professional Apache Tomcat 6 (WROX Professional Guides)
Price For All Three: $114.46

Some of these items ship sooner than the others. Show details

Buy the selected items together
  • In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • Apache Tomcat Bible $32.99

    Usually ships within 1 to 3 weeks.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • Professional Apache Tomcat 6 (WROX Professional Guides) $26.52

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details



Editorial Reviews

Review

It's really excellent. I mean, I can't put the thing down! -- Richard Monson-Haefel, award-winning author (http://weblogs.java.net/pub/wlg/1372)

About the Author

Budi Kurniawan is an IT consultant specializing in Internet and object-oriented programming. He is the author of Java for the Web with Servlets, JSP, and EJB, and the creator of the Brainysoftware.com File Upload Bean.

Product Details

  • Paperback: 458 pages
  • Publisher: BrainySoftware.com (April 2004)
  • Language: English
  • ISBN-10: 097521280X
  • ISBN-13: 978-0975212806
  • Product Dimensions: 10 x 7.1 x 0.9 inches
  • Shipping Weight: 1.8 pounds (View shipping rates and policies)
  • Average Customer Review: 4.2 out of 5 stars  See all reviews (17 customer reviews)
  • Amazon Best Sellers Rank: #1,628,531 in Books (See Top 100 in Books)

 

Customer Reviews

17 Reviews
5 star:
 (9)
4 star:
 (5)
3 star:
 (1)
2 star:
 (2)
1 star:    (0)
 
 
 
 
 
Average Customer Review
4.2 out of 5 stars (17 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

9 of 9 people found the following review helpful:
5.0 out of 5 stars I now understand Tomcat's internals, June 10, 2004
By 
Xing Yan (Perth, Australia) - See all my reviews
This review is from: How Tomcat Works (Paperback)
I became interested after reading Richard Monson-Haefel's praising this book in his blog (http://weblogs.java.net/pub/wlg/1372). After reading the
six free chapters from the publisher's site (www.brainysoftware.com), I decided to buy. This is a truly amazing book that covers such an advanced topic in such a simple language. I feel I do understand the internals of Tomcat now. The first Tomcat component you can build after reading this book is as simple as 20 lines or so, as demonstrated in the publisher's site. Supporting technologies, such as shutdown hook, Digester, JMX, are also well explained so that you will be really prepared to wade through complex code.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


12 of 13 people found the following review helpful:
5.0 out of 5 stars Not for the squeemish..., May 24, 2004
By 
Mike Harley (Woodbury, MN USA) - See all my reviews
This review is from: How Tomcat Works (Paperback)
I bought Budi's newest book because I liked the style of his earlier book on JavaServer Faces. He has an ability that is rare for most technical authors...He can make a very complex topic understandable.

Although Tomcat is pretty easy to set up and use as a developer, to really understand the internals of the server one must wade through thousands of lines of code and even then it can be a daunting task. Furthermore, understanding the "how" is only half the battle. To really gain an understanding of the server, one must understand "why" the Jakarta folks did things the way they did.

Budi (and Paul Deck) did a great job of not just giving a code review of the server, but also describing the reasons why the server is constructed the way it is.

Having written a few Tomcat Components the hard way - trial and error - I can say the insights given in this book have helped a great deal.

But, as I say in the title, this book is not for the squeemish. There is a sizable amount of fairly complex code. To really understand the point of the book, the reader must be VERY familiar with the Java language, Java Web Applications, TCP/IP, and be willing to ponder a code listing for a while to really understand it. In other words, this is not what I would call a "passive read".

If you have the basic understanding necessary, this book will shed a great deal of light on one of the darker corners of server-side Java development.

This is great read for anybody wanting to really understand the internals of Tomcat.

Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


6 of 6 people found the following review helpful:
5.0 out of 5 stars Lessons Learned, March 16, 2005
By 
This review is from: How Tomcat Works (Paperback)
THis is a Tomcat book that lets you pick the brightest brains in the industry. This book shows how Tomcat developers designed and build Tomcat from scratch. Like me, I'm sure you'll learn a lot, much more than Tomcat configuration. For example, you'll learn how a Java HTTP server is written, how object pooling is implemented, how auto-reload works, ect. This is unlike other Tomcat books that are rehash of the free documentation at Tomcat's website.

Surprisingly, the language is simple. If you know a bit of Java, you can follow the chapters comfortably. It starts from a basic HTTP server and servlet container and works its way up to a full Tomcat. You'll enjoy it if you have interest in Java programming.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No

Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews











Only search this product's reviews



Inside This Book (learn more)
First Sentence:
This chapter explains how Java web servers work. Read the first page
Key Phrases - Statistically Improbable Phrases (SIPs): (learn more)
authenticator valve, current component state, mbean element, public void await, default mapper, await method, extension class loader, default connector, loader implementation, make the application wait, start method calls, loader interface, lifecycle listener, parent class loader, bootstrap class, public void drive, catal ina, system class loader, allocate method, requested servlet, public void invoke, getwriter method, basic valve, servlet programmers, void install
Key Phrases - Capitalized Phrases (CAPs): (learn more)
Commons Modeler, Bootstrap In Linux, Socket Input Stream, Using Security Manager, Debug Catalina, Note In Tomcat, Stop Catalina, Apache Software Foundation, Hello World, Pipelining Tasks, Start the Valves, Stop the Valves, Wellington Avenue, Bootstrapl In Linux, Creating Address, Creating Office, Root Cause, The Hypertext Transfer Protocol
New!
Books on Related Topics | Concordance | Text Stats
Browse Sample Pages:
Front Cover | Table of Contents | First Pages | Index | Back Cover | Surprise Me!
Search Inside This Book:

Citations (learn more)
This book cites 1 book:



What Other Items Do Customers Buy After Viewing This Item?


Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 
(1)

Your tags: Add your first tag
 

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 


Active discussions in related forums
Search Customer Discussions
Search all Amazon discussions
   
Related forums



So You'd Like to...



Look for Similar Items by Category


Look for Similar Items by Subject