tomcat internal functional analysis

1. There is a decompression function in the specified file war package
2. Read the servlet (read the web.xml)
3. xml into the objects, loading the servlet (JVM class loader)
4. Examples of (reflected), the save up objects.
5. The method of initialization calls init
6. The sevlet find the corresponding URL
7. The method calls the service
8. http request process (multi-thread processing request)
9. Start service listening port (our sock)
Summary: Deployment - "Conversion Request -" network programming process

Guess you like

Origin blog.csdn.net/weixin_39507514/article/details/88884853