wood burning stoves 2.0*
The moose likes EJB and other Java EE Technologies and the fly likes Servlet  / Stateless Session Beam Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Servlet  / Stateless Session Beam" Watch "Servlet  / Stateless Session Beam" New topic
Author

Servlet / Stateless Session Beam

Renaud FLORQUIN
Greenhorn

Joined: Mar 22, 2004
Posts: 18
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

Joined: May 29, 2003
Posts: 1258
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.


Nathaniel Stodard<br />SCJP, SCJD, SCWCD, SCBCD, SCDJWS, ICAD, ICSD, ICED
 
GeeCON Prague 2014
 
subject: Servlet / Stateless Session Beam