File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases 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 and Relational Databases
Bookmark "servlets" Watch "servlets" New topic


alwar das

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
I agree. Here's the link:
subject: servlets
It's not a secret anymore!