> Sorry but you misunderstood.
>
> My SLSB is injected in the servlet.
>
> When this SLSB is in WEB-INF/classes everything works
> like a charm.
> But when I have it inside another Maven project, and
> it is copied under WEB-INF/lib at this moment I get a
> nullpointerexception on the EJB.
>
> But everything is still inside a web-app.
>
> Should I use the ejb-ref in the servlet?
> Or is it a limitation of EJB prelude?
It's a limitation of the EJB prelude. For now, the EJB annotations are only
processed on classes in WEB-INF/classes.
>
> Thanks all of you....
>
> Steph
[Message sent by forum member 'ksak' (ksak)]
http://forums.java.net/jive/thread.jspa?messageID=320652