users@glassfish.java.net

Re: EJB lookup from POJO

From: <glassfish_at_javadesktop.org>
Date: Tue, 29 Jul 2008 06:45:53 PDT

The problem is that the environment lookup is happening during the construction of the
servlet instance. Put the lookup code in a @PostConstruct method or somewhere after
the service method has been called.
[Message sent by forum member 'ksak' (ksak)]

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