users@glassfish.java.net

Re: Stateless ejb initialize method

From: <glassfish_at_javadesktop.org>
Date: Fri, 21 Mar 2008 06:13:09 PST

Hi Elvis,

Just meant using the web initialization event for something other than its typical purpose.
Here's an article that shows an example. It's based on J2EE 1.4 so you can simplify it by using an @EJB to inject a Stateless Session Bean reference rather than performing a lookup.

http://www.onjava.com/pub/a/onjava/2004/10/13/j2ee-timers.html?page=2

 --ken
[Message sent by forum member 'ksak' (ksak)]

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