users@glassfish.java.net

Re: question about _at_Local access in EAR file

From: Felipe Gaścho <fgaucho_at_gmail.com>
Date: Sun, 9 Aug 2009 19:36:15 +0200

problem is: I am using Jersey.. and it seems to work only with the
remote interface..

from the Sandoz example:

/** @author paulsandoz */
@Path("web")
public class WebRootResource {
    @EJB private SessionBeanRemote sessionBeanLocal;

Question: why he named the reference as "sessionBeanLocal" if the
interface used is the remote one ??

is there any Jersey or Glassfish trick that lookup remote interfaces
locally when the resource is in the same application ?