Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Tomcat 6 Developer's Guide

You're reading from   Tomcat 6 Developer's Guide Understanding how a servlet container actually works will add greatly to your Java EE web programming skills, and this comprehensive guide to Tomcat is the perfect starting point.

Arrow left icon
Product type Paperback
Published in Dec 2009
Publisher Packt
ISBN-13 9781847197283
Length 416 pages
Edition 1st Edition
Languages
Arrow right icon
Toc

Containers


This figure provides a closer look at the compositional hierarchy of the container components, their nested components, and their request processing pipelines and valves.

The outermost container represents the Catalina servlet engine and is the subject of this chapter.

Note

An engine cannot be contained by any component other than its service. Adding an engine as a child of any other container will cause an IllegalArgumentException to be thrown.

Note that while the Service component does contain other components, it is not considered a container, and is instead classified as a Top Level Component.

An Engine contains one or more children that are of type Host, each of which is a virtual host. In turn, a Host contains a number of Contexts, each of which represents a single web application. A context may optionally contain Wrapper components, where each wrapper represents an individual servlet.

Some child containers, such as the Host, Context, and Wrapper can have more than one instance...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image