*
The moose likes JDBC and the fly likes servlets Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "servlets" Watch "servlets" New topic
Author

servlets

alwar das
Greenhorn

Joined: Aug 28, 2003
Posts: 3
today i attended for an interview

he asked how will you make a servlet as notthread safe , i said by default it is not thread safe ,if you want to make it as thead safe you have to implement SingleThreadModel,he said wrong and he said that if you implement a SingleThreadModel that servlet will become nonthread safe.
what is the exact mechanism
Alwardas
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: servlets
 
Similar Threads
Are JSPs Thread Safe ?
Thread safe servlets
SingleThreadModel
is servlet/jsp thread safe?
Servlets