• Post Reply Bookmark Topic Watch Topic
  • New Topic

servlets

 
alwar das
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!