Tomcat 5 new features and architectural changes

xiaoxiao2021-03-06  22

The new features and architectural changes of Tomcat 5 1. Support Servlet 2.4 and JSP 2.0; 2, HTTP Mapper modules are renovated, pumping out from the Catalina code; Coyote Connector is Tomcat's entry port, equivalent to Java MAIN function. HTTP's request is decoded here, converting HTTP's request to Tomcat can process classes. If the developer wants to integrate some own components in Tomcat, you need to use the COYOTE Connector as an intermediate connector. What needs to be explained here is that if you write your own components and Tomcat integration, this formation is actually a Valve. In fact, Tomcat itself is also based on Valve. Learning Servlet knows servlet chain, this is a chain process, Tomcat handling HTTP requests are also similar processes, Tomcat is added to different Valve in these requests; 3, fully support JMX, in line with JSR 160 specification, Just JMX Remote; 4, support embedded Tomcat. That is to integrate Tomcat in your application. The integrated method has three types: 1. Use the Embedded interface 2, use JMX 3, the third is the use of Apache to connect Tomcat practice (what principle?); 5, Sun One Servlet Container Now start using Tomcat; related connections: address

Tomcat5 and Sun One Developer

How happy, how happy the main forum Ctrlc source code search engine

转载请注明原文地址:https://www.9cbs.com/read-40467.html

New Post(0)