[jboss-user] [EJB 3.0] - Self-destroying a stateful session bean

jlessner do-not-reply at jboss.com
Sat Mar 3 18:48:49 EST 2007

Does anybody know if there is a way how a stateful session bean can destroy itself without rolling back the current transaction? The only idea I had was to call the bean's own remove-method - of course not directly but through the proxy by SessionContext.getEJBObject(). Unfortunately this caused the remove-method of a completely new bean instance to be called. So this is no solution.


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

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

More information about the jboss-user mailing list