[jboss-user] [JBoss Seam] - Re: When do I need a @Factory?

iradix do-not-reply at jboss.com
Wed Aug 22 17:26:32 EDT 2007


It looks to me like the container is having a problem retrieving your session bean.  When you @In(ject) a session bean Seam will retrieve it from JNDI.  What you are doing in your factory method is simply instantiating the class, which will not have the Seam or EJB interceptors applied to it.  Why don't you remove the factory and post the stack trace.

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

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



More information about the jboss-user mailing list