users@glassfish.java.net

Re: _at_PostConstruct not being called

From: <glassfish_at_javadesktop.org>
Date: Mon, 08 Feb 2010 05:53:35 PST

@PostConstruct won't get fired unless the EJB instance get's initiated, this will work on deployment time only if this is a Singleton EJB with @Startup annotation which will force the application server to create instant on the deployment time of this bean.
[Message sent by forum member 'mohamedelshami' (mohamed.shami_at_gmail.com)]

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