[jboss-dev-forums] [Design of EJB 3.0] - Re: Behavior difference in intra-AS EJB calls

bstansberry@jboss.com do-not-reply at jboss.com
Fri Aug 22 15:55:26 EDT 2008


The old behavior could be restored easily enough by adding a StringRefAddr with some sort of vmid/long to the Reference.  Then the ObjectFactory uses a constructor method on IsLocalProxyFactoryInterceptor that gets passed the vmid. Or a factory method on IsLocalProxyFactoryInterceptor that returns a 'singleton', either IsLocalProxyFactoryInterceptor.local or IsLocalProxyFactoryInterceptor.remote.

If you guys think that's a valid thing to do, I can do it pretty quick; an existing clustering test already tests this.

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

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



More information about the jboss-dev-forums mailing list