Watch “Servlet Part-13 (Single Thread Model)” on YouTube

Single Thread Model:
It was designed to guarantee that only one thread is executed at a time in a given servlet instance’s service method.
It should be implemented to ensure that servlet can handle only one request at a time.

follow me @
It is a marker interface and has no methods.
This interface is currently deprecated.
Once the interface is implemented the system guarantees that there’s never more than one request thread accessing a single instance of servlet.

OS : Windows 10
Jdk : Version 8
IDE : Eclipse Mars
Server : Apache Tomcat 7

follow me @

Subscribe my channel to get latest video notification

%d bloggers like this: