users@glassfish.java.net

Re: calling of _at_PostConstruct on MDB?

From: <glassfish_at_javadesktop.org>
Date: Fri, 11 Jul 2008 06:15:09 PDT

Hi,

Can you post your ejb-jar.xml, sun-ejb-jar.xml, and relevant part of your bean class? Also check if ejb-jar.xml overrides the @PostConstruct. If you only need to add <env-entry> then you only need to have <env-entry> elements in ejb-jar.xml. PostConstruct method is always called before the bean instance is put into service.

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

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