How many instances are created for a HTTP servlet

后端 未结 2 837
攒了一身酷
攒了一身酷 2021-01-04 04:15

I am going through the book for \"Java Web Services: Up and Running, 2nd Edition\" and came across a statement that says:

A web server such as Tomcat

2条回答
  •  太阳男子
    2021-01-04 04:49

    by default servlets are intrinsic multithreaded. so only single instance be created and will be accessed by multiple threads.

提交回复
热议问题