Hi,
I am trying to call an
EJB 3.1 from a client project. If I use DI I get
a java.lang.NullPointerException,
On the other hand I can use JNDI as follows,
In this case I get a NamingException
In both cases the try-catch block is needed because publishNews() throws Exception.
The environment is formed for
JBoss 6.0 Final integrated into Eclipse Helios SR1.
Please, witch is the solution?
Thanks in advance,
Jose