This question was asked earlier and discussed earlier, but I want to ask it further.
Are Servlets Singleton or Not? According to me, they are initialized only by the container, but are they still not single? why??
Servlets Single Thread or multi Threaded (Forget the javax.servlet.SingleThreadModel class ) i.e. What happens when there are multiple requests for a single servlet? If they are executed conncurrently, does that mean multithreading ?? and if it is multithreading, then each thread will have a servlet instance, which contradicts the 1st point !!
What I think Whenever a new request is requested, the container creates a new thread for the incoming say Req1 request, in which it calls or sends the control to the servlet service method. Now this execution is happening concurrenlty .. I think so ...
Is my work the same in MVV envirionment ?? (say Struts 1/2, Springs)
source share