users@jersey.java.net

Re: [Jersey] _at_Provider worked with _at_Remote

From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Mon, 06 Apr 2009 09:51:02 +0200

On Apr 5, 2009, at 7:15 PM, Felipe Gaścho wrote:

> ok, I tried the Sandoz example and it worked.. but, only with a
> @Remote interface of my statelss session bean..
>
> trying with the @Local annotation, it failed ...
>

I think the JNDI name has to be something different. Perhaps the
following will help:

   https://glassfish.dev.java.net/javaee5/ejb/
EJB_FAQ.html#SessionBeanGlobalJNDINameAssignment

Otherwise i suggest asking on the Glassfish users alias to get the
JNDI naming rules for look up EJBs.

Paul.

> not a complete solution, but at least my beans are available in the
> restful resources.. let's see...
>
> --
>
> Please help to test this application:
> http://fgaucho.dyndns.org:8080/cejug-classifieds-richfaces
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>