[jboss-user] [JBoss Seam] - Re: @PersistenceContext in a SFSB created by a factory

pete.muir@jboss.org do-not-reply at jboss.com
Tue Aug 7 08:39:46 EDT 2007


For Seam injection to work you have to instantiate the component through Seam e.g. Component.getInstance().  If you make the UpDownloadDatabase a Seam component then this is all you need to do.

If you want it as a non-seam SFSB, you need to ask EJB3 to instantiate it for you (e.g. JNDI lookup, @EJB).

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

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



More information about the jboss-user mailing list