[jboss-dev-forums] [Design of EJB 3.0] - Re: Determine whether an invocation is local or remote

ALRubinger do-not-reply at jboss.com
Thu Mar 27 16:03:24 EDT 2008


"bdecoste" wrote : Generally. The containers already have a dependency on the IS_LOCAL settings that IsLocalInterceptor sets in order to know whether to marshall the response. 
  | 
  | If a user removed IsLocalInterceptor, we behave as if it's always a remote call and go through rmi and marshall everything. The question is, if the user removed it, what would security do? It would treat it as a remote call?

So the containers don't really have a dependency then?  Just take advantage of optimization if a flag's available in invocation metadata?

We should be able to fall back gracefully. :)

S,
ALR

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

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



More information about the jboss-dev-forums mailing list