users@glassfish.java.net

Re: initialize a bean during startup

From: <glassfish_at_javadesktop.org>
Date: Tue, 27 Nov 2007 18:59:04 PST

EJB 3.0 spec defines these lifecycle callbacks like @PostConstruct, @PostActivate, @PrePassivate and @PreDestroy for stateful session beans. Admittedly, they are not specifically targeted for appserver's life event, but you may be able to achieve the similar effects.

-cheng
[Message sent by forum member 'cf126330' (cf126330)]

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