JBoss Community

Re: Using ejb-jar.xml for @Singleton bean

created by jaikiran pai in EJB3 - View the full discussion

Everything looks fine. Are you sure the @PostConstruct isn't really called? Or is it just that the log message isn't being printed? Can you instead try using System.out.println or maybe attach a breakpoint in that method and see if it is called? I see that you are using commons-logging, so just want to make sure that it isn't just a case of missing logs.

Reply to this message by going to Community

Start a new discussion in EJB3 at Community