Tomcat
Java · 10 notes
- 11.3 Usagehistorical
Create a project, create a Servlet, configure web.xml and Tomcat, run it, and deploy IDEA-generated files.
- 11.4 Connectorhistorical
Overview and class diagrams for Tomcat Connector, Endpoint, Processor, and Adapter.
- Tomcat Startup Flowhistorical
Startup entry classes, sequence diagram, and source tracing through Tomcat init and start from Bootstrap/Catalina to Server, Service, Connector, Endpoint, and Acceptor.
- Tomcat Request Processing: Source Viewhistorical
Sequence diagram and source tracing from NioEndpoint accept/poll processing through SocketProcessor, Processor, CoyoteAdapter, valves, filters, and servlet invocation.
- Building Tomcat from Sourcehistorical
1. Download and extract the source. 2. Convert it into a Maven project. 3. Configure the startup class and JVM arguments. 4. Configure JSP compilation. 5. References.
- 11.9 Configuration-File Levelhistorical
Use http://localhost:8080/tomcat_test/hello as an example to locate the connector, engine/service, host/context, and wrapper.
- 11.11 Architecturehistorical
What Tomcat is and why its HTTP server and Servlet container are designed as separate modules.