users@glassfish.java.net

Re: [Jersey] Re: question about _at_Local access in EAR file

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

with EJB 3.0 I still need the ejb-ref ?

On Sun, Aug 9, 2009 at 7:49 PM, Alexis
Moussine-Pouchkine<alexis.mp_at_sun.com> wrote:
> Hi Felipe,
> You'll need an ejb-local-ref in web.xml to inject the local version
> (assuming that's the question).
> Local and remote do not share the same semantics.
> -Alexis
>
> On Aug 9, 2009, at 19:36, Felipe Gaścho wrote:
>
>> 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 ?
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
>> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>
>



-- 
Looking for a client application for this service:
http://fgaucho.dyndns.org:8080/footprint-service/wadl