humm:
" Injection is not supported for POJO classes, so the POJO needs to
look up the local EJB reference within the private namespace
(java:comp/env) of the component within whose scope it is executing.
"
so, I can't use:
@Path("confirm")
public class RegistrationConfirmation {
@EJB(name="fooejbref", mappedName="Foo")
private UserFacadeLocal local;
??
btw, the "servlet" is actually a jersey annotated servlet - so I am
not sure if this is a secondary problem..
On Fri, Feb 20, 2009 at 7:47 PM, Felipe Gaúcho <fgaucho_at_gmail.com> wrote:
> I am still looking for an example of web.xml declaring a reference to
> a @local EJB ....
>
> So, what should I include in my web.xml in order to access an EJB in
> the same application scope (same EAR) ??
>
> my local interface:
>
> package net.java.dev.cejug.classifieds.login.entity.facade.client;
> import ...;
>
> @Local
> public interface UserFacadeLocal extends EntityFacade<UserEntity> { ... }
>
>
> --
>
> Please help to test this application:
> http://fgaucho.dyndns.org:8080/cejug-classifieds-richfaces
>
--
Please help to test this application:
http://fgaucho.dyndns.org:8080/cejug-classifieds-richfaces