[jboss-dev-forums] [Design of EJB 3.0] - Re: When is there an EJBObject?

ALRubinger do-not-reply at jboss.com
Fri Oct 5 13:09:47 EDT 2007


In reference to EJBTHREE-1058:

Assuming:

@Remote
  | public interface MyBusiness extends EJBObject

...what is the difference between the Proxy obtained via a lookup to this remote interface and the one obtained via a home.create() call?

They are currently handled differently; one implementation specific is that when invoking "remove" from the Proxy obtained via lookup directly to remote interface, "dynamicInvoke" of the Container (StatefulContainer, for instance) the method hash of the invocation is not found in the method interceptors, and a RuntimeException is thrown before the proper call to invokeEJBObjectMethod().


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

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



More information about the jboss-dev-forums mailing list