users@glassfish.java.net

Re: Glassfish v3 and EJB

From: <glassfish_at_javadesktop.org>
Date: Mon, 08 Dec 2008 08:15:21 PST

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?

Thanks all of you....

Steph
[Message sent by forum member 'samaudruz' (samaudruz)]

http://forums.java.net/jive/thread.jspa?messageID=320635