0 Replies Latest reply on Jan 12, 2007 2:54 AM by Christian Inzko

    get handle for stateful ejb?

    Christian Inzko Newbie

      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"