[jboss-user] [JBoss Seam] - Re: EntityManager is Null inside Constructor

cyberanto do-not-reply at jboss.com
Fri Feb 1 13:17:50 EST 2008


do not initialize seam beans in the constructor; you will run into all kinds of troubles when you do this (I did :)

instead, use the annotation @PostConstruct for your fillExistingData() method

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125629#4125629

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125629



More information about the jboss-user mailing list