• Post Reply Bookmark Topic Watch Topic
  • New Topic

web container behavior?  RSS feed

 
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.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!