This week's giveaway is in the Spring forum.
We're giving away four copies of Learn Spring Security (video course) and have Eugen Paraschiv on-line!
See this thread for details.
Win a copy of Learn Spring Security (video course) this week in the Spring 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