• Post Reply Bookmark Topic Watch Topic
  • New Topic

SingleThreadmodel Doubt !!!  RSS feed

 
Sandeep Vaid
Ranch Hand
Posts: 392
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
P-214 of HFSJ, Q-13 option a)
If the servlet implements javax.servlet.SingleThreadModel, the conainer may use one instane for ach simultaneous request.

Is this statement true? Will the container creates more than one instance of the servlet or the container holds one of the clients till the others are served ?
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is this statement true?

Yes. The container will create one instance for each request.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!