[jboss-user] [EJB 3.0] - get handle for stateful ejb?

cinzko do-not-reply at jboss.com
Fri Jan 12 02:54:37 EST 2007


Hi,

in EJB 2.x it was possible to get a serializable handle (javax.ejb.Handle) for a stateful sessionbean by calling the "getHandle"-method on the ejbobject.

is this also possible in ejb 3.0? if yes, how?

if i call the method "sessionContext().getEJBObject().getHandle()" in my ejb-class as it was suggested in a posting here (http://www.jboss.com/index.html?module=bb&op=viewtopic&t=73311) i get the exception "Could not resolve beanClass method from proxy call"



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

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



More information about the jboss-user mailing list