users@glassfish.java.net

Re: calling of _at_PostConstruct on MDB?

From: <glassfish_at_javadesktop.org>
Date: Tue, 15 Jul 2008 01:12:24 PDT

Hi again,

the solution for my @PostConstruct problem is here:
http://forums.java.net/jive/message.jspa?messageID=286429

In the ejb-jar.xml the Bean name was different from the Bean class so I had to give the "name" property to the @MessageDriven annotation.
Once I did this the @PostConstruct method was always called as expected. :)

Cheers
Chris
[Message sent by forum member 'chrjohn' (chrjohn)]

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