Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Servlet / Stateless Session Beam

 
Renaud FLORQUIN
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't understand why there is a difference between how a Web Container manages a Servlet (only one instance / one thread per request) and how a EJB Container manages a Stateless Session Bean (pool of instances).

Renaud
 
Nathaniel Stoddard
Ranch Hand
Posts: 1258
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I had this whole thing typed out for you, but I deleted it --- I really have no idea why SSBs aren't just done one per type and have multiple threads executing within it. I suppose it's just a spec nuance.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic