Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

web container behavior?

 
raymond yadao
Ranch Hand
Posts: 88
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
does all web container have the same behavior, what i mean is that for example like in servlets there's is only one servlet instance for as many request.instance variables and class variables are shared among request.
is singlethreadmodel creates new servlet instance for every request?
thanks.
raymond
 
s khosa
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No. It's vendor specific. But by defualt most of them follow multi-threaded behaviour. So one needs to check the implementation model of the vendor before deploying the servlet application on it.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic