Hi,
I have gone through some of the posts and understood below concept.
1. In SingleThreadModel for every new request separate instance of
servlet will be created and request will be serviced once completed instance will be destroyed for performance improvement some vendors pool the servlet insatnces and reuse the instance to provide service. However those information at application level like session and other shared resources will be still shared by two threads using two separate instances of servlets.
2. In multi threaded environment there will be only one insatnce of the servlet and for each request new
thread will be created but all the threads will access same single insatnce of servlet. However when the load is too heavy on the instance container can create new instnce for performance improvement.
Is my understanding correct.
Thanks