NOTE
Tomcat Container Hierarchy
Engine, Host, Context, Wrapper, request routing, and the hierarchical Tomcat container model.
This is a historical learning note and may contain outdated or incomplete understanding.
Tomcat historically models request processing through a container hierarchy such as Engine → Host → Context → Wrapper.
Conceptually these layers select virtual host, web application/context, and target servlet while applying container pipeline/valve behavior.
Exact implementation classes evolve, but the useful architecture is hierarchical request routing plus lifecycle/configuration boundaries.