Hi,
I have a basic question about servlets in Tomcat 5.0.18. In theory, when
there are simultaneous requests come for a servlet, it will either queue the
requests and serve one by one or create multiple threads of the servlet and
serve the request.
My question is, what / how tomcat handles this situation?
I need the answer for this, because, i have a synchronized access to an
object from the servlet, and if tomcat handles the monitor for the object
then i don't need to handle the monitoring condition else i may have to do
it.
I understand that Tomcat has a SingleThreadModel interface that allows
only one thread access/One request at a time model. But help me solve the
previous problem
--
Pavan S. Kumar