[jboss-user] [EJB 3.0] - Re: why @Remote is preferred over @Local?

boby do-not-reply at jboss.com
Tue Aug 22 04:10:48 EDT 2006


Hi,

I made several tests and I find the same conclusion.
So if anyone knows why the remote is used instead of the local, that will be nice ??

My solution is to use @EJB inject like that :

  | @EJB(mappedName = "masterServices/ResourcesSessionBean/local")
  |   private ResourcesSession resourcesSession;
  | 

thanks,
j. Bordeau

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

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



More information about the jboss-user mailing list