Loading
Cover of How Tomcat Works

RefHub featured

Book guide and evaluation

How Tomcat Works

Budi Kurniawan,Paul Deck

English Unordered Backend Development
4.8 / 5

5 reviews

2004

Published

476

pages

625

views

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, t

Before you read

What will you get from this book?

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

Ask this book

Your question is answered in the context of this title and author. Each answer uses 2 points.

Sign in to ask the book assistant.

Reader reviews

5 reviews, 4.8 average out of 5

Aere Btytu

2025/08/17

5 / 5

Pretty intersting info, hard tto find

lucas barhum

2025/10/18

4 / 5

This book explains Tomcat in a surprisingly clear and practical way. It doesn’t just tell you what to configure — it helps you understand why things work the way they do. A must-read for anyone who wants to really master servlet containers.

mousa afkhami

2025/10/27

5 / 5

از دیدگاه من کمک بسیاری میتونه کنه در بهبود عملکرد

Show all 5 reviews

mousa afkhami

2025/10/27

5 / 5

از دیدگاه من کمک بسیاری میتونه کنه در بهبود عملکرد

Mohammad Fayooz

2026/02/17

5 / 5

Yath chinwebsiti peomut tawan kyah karaw

Write a review

Sign in to publish a review.

Reader questions and answers

Ask a focused question and learn from the community.

Sign in to ask or answer a question.

No questions yet

Be the first to ask a clear, useful question.