[jboss-user] [EJB 3.0] - Re: Automatic Destroy State in Stateful Session Bean

ALRubinger do-not-reply at jboss.com
Wed Oct 4 14:40:35 EDT 2006


You have an instance variable in your bean.  By "Stateless", this means the container will not guarantee that the same instance will be returned to the same client on each invocation.  At the end of the invocation, it's just returned to the pool.  It's up to the developer to ensure the bean has no instance variables within that instance, or that all are reset to a common state, such that all instances in the pool can be considered "equal" and handed out to any client without evidence of that instance's history.

S,
ALR

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

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



More information about the jboss-user mailing list