This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Servlet / Stateless Session Beam