Foreword:
There are many junior programmers who treat Tomcat as just a tool and ignore its importance. For the simplest Web project architecture, Tomcat is the front army, SSM is the Chinese army, and Mysql is the rear. We usually attach great importance to the learning of the SSM framework and ignore Tomcat. If we can learn more about the underlying principles of Tomcat, So it is very important for daily development work or project performance tuning.
Therefore, for Tomcat, it is just because it is powerful and excellent that it is easy to be ignored by us. If we want to do well, we must first sharpen our tools. If we can truly grasp the underlying principles of Tomcat, we will gain a lot. The editor used to think that I knew enough about Tomcat. Until I was lucky enough to see the Tomcat architecture analysis document shared by Ali p8, I realized that what I knew before was scum. Today I shared it with friends in need. .
Since there are more detailed chapters under each chapter, the length of the article is limited, and the entire content cannot be displayed. Only screenshots can be displayed to show the part. Friends who need a complete note can get it by clicking here.
Chapter 1 Introduction to Tomcat:
1. Tomcat history
2.Tomcat license
3. Installation and startup
3. Tomcat download and installation
4. Tomcat directory structure
5. New features after Tomcat 8.5
Chapter 2 Tomcat Overall Architecture:
1. Overall design
2. Server
3.Connector and Container
4. Container design
5.Lifecycle
6. Pipeline和Valve
7.Tomcat start
8. Request processing
9. Class Loader
Chapter 3 Catalina:
1. What is Catalina
2. Digester
3. Create Server
4. Web application loading
5. Web request processing
6. DefaultServlet和JspServlet
Chapter 4 Coyote:
1. What is Coyote
2. Web request processing
3. HTTP
4. HTTP
5. AJP
6. HTTP/2.0
7. I / O
Chapter 5 Jasper:
1. Introduction to Jasper
2. JSP compilation method
3. Run-time compilation
4. Pre-compilation
5. JSP compilation principle
Chapter 6 Tomcat Configuration Management:
1. JVM configuration
2. Server configuration
3. Web application configuration
4. Web Application Filter
5.Tomcat management
Chapter 7 Web Server Integration:
1. The difference between web server and application server
2. Integrated application scenarios
3. Integration with Apache HTTP Server
4. Integration with Ngnix
5. Linux environment installation
6. Tomcat integration
7. Integration with IIS
Chapter 8 Tomcat cluster:
1. Introduction to Tomcat cluster
2. Tomcat cluster basics
3. Cluster configuration
4. Session synchronization
5. Cluster deployment
6. Implementation principle
7. Configuration method
Chapter 9 Tomcat Security:
1. Configure Security
2. Installation and deployment issues
3. server.xml configuration
4. Application Security
5. Transmission Security (SSL)
6.Java security policy
Chapter 10 Tomcat performance tuning:
1. Tomcat performance test and diagnosis
2. Common test methods
3. Performance testing tools
4. Data collection and analysis
5. Tomcat performance optimization
6. JVM optimization
7.Tomcat configuration
8. Application performance optimization suggestions
Chapter 11 Tomcat additional features:
1. Embedded startup of Tomcat
2. Why do you need embedded startup
3. Embedded start Tomcat
4. Embedded boot server
5. JNDI in Tomcat
6. JNDI in Tomcat
7. Comet and WebSocket
8.Tomcat's Comet implementation
9. What is WebSocket
10.Tomcat's WebSocket implementation
Summary directory:
**Summary:** There are also different levels of practitioners in all walks of life. As a programmer, which level do you belong to? As an ordinary programmer, you want to be a senior programmer. In fact, as a programmer, you can enrich your knowledge reserve. It is necessary to improve the depth and breadth of one's knowledge, and it is inevitable to put in more effort. As much as you pay, you will get the reward.
**Only if you learn a lot and learn well, you will not be eliminated. As a programmer, it is very necessary to enrich your knowledge reserve and enhance the depth and breadth of your knowledge. [Complete information acquisition channel] .