users@glassfish.java.net

Re: JNDI question

From: Cheng Fang <Cheng.Fang_at_Sun.COM>
Date: Wed, 24 Oct 2007 14:20:05 -0400
I don't see any thing wrong as far.  Next I suggest looking at ejb-jar.xml, and sun-ejb-jar.xml (if any).  Make sure that the <resource-ref> is correctly declared for this EJB.

-cheng

glassfish@javadesktop.org wrote:
I call within a regular method in a stateless session bean like this:

import SomethingHandler;
@Stateless
public class ....

public Result getAnything(....) {
....
SomethingHandler.getSomething();
...
return ....
}
[Message sent by forum member 'woel' (woel)]

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

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: users-help@glassfish.dev.java.net