Probably a simple question...
I understand that in the Servlet multithreaded model a new thread(a
lightweight process) is created for every request as opposed to CGI
where a new process is created for every request. Now one has the
option of implementing the Servlet as a SingleThreaded module too, in
which case a seperate Servlet instance is created for every request.
My question is why would one want to do this i.e when & under what
conditions would one implement a singlethreaded servlet model as
opposed to the default multithreaded one ?
Looking forward to your responses.
Thanks,
-MK.