[jboss-user] [EJB 3.0] - Re: SLSB in session scope?

ALRubinger do-not-reply at jboss.com
Mon Oct 15 09:59:55 EDT 2007


I'm not sure what you're getting at; in what context did you read "Stateless session bean in a Session scope"?

"mnrz" wrote : in other words, since a SLSB will loose its state after a client request has been done if that bean defined in a session scope what this means?
  | 

To clarify, a SLSB will not lose its state upon completion of an invocation.  Developers should be coding SLSBs to *not* have state, because they're returned to the pool to be shared with other clients.  SFSBs, by comparision, may have state because its guaranteed that subsequent calls to the proxy object obtained from JNDI will result in an invocation to the same object in the server.

S,
ALR



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4095257#4095257

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4095257



More information about the jboss-user mailing list