NOTE
11.8 Container
A Tomcat Server can contain multiple Services, each combining Connectors and a Container. These notes organize the architecture by those levels.
This is a historical learning note and may contain outdated or incomplete understanding.
Overview


- One Server can have multiple Services.
- One Service consists of multiple Connectors and one Container.
- One Container consists of one Engine.
- One Engine has multiple Hosts [virtual sites].
- One Host consists of multiple Contexts [applications].
- One Context consists of multiple Wrapper Servlets.
server.xml
We can also see this from server.xml and the source code.

Class Diagram

Drag to pan, scroll to zoom, and click a node to expand or collapse it. Large maps start with deeper levels collapsed; click nodes to expand them.
Discussion
Sign in with GitHub to comment. Discussions are stored as GitHub Issues.View on GitHub