Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How does the Tomcat container calls service() method?

How does the Tomcat container calls service(ServletRequest req, ServletResponse res) method? Where can I look for implementation of this call?
How can I see how this req and res objects (that passed to service() method) are created?

like image 509
Warp Avatar asked Dec 08 '25 10:12

Warp


1 Answers

Although the Tomcat Architecture page is in TODO status, there is at least a link to the UML sequence diagram of the request processing. Combining with Tomcat's source code, it is a good starting point.

like image 111
Jozef Chocholacek Avatar answered Dec 11 '25 00:12

Jozef Chocholacek



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!