[jboss-user] [JBoss Seam] - Re: Email Listening MDB Accessing Seam Components
Smurfs
do-not-reply at jboss.com
Thu Mar 15 18:14:39 EDT 2007
Pete, I have come across this same problem using the EJB @Timeout annotation on a bean method. In my case the seam injected component was null within the scope of the annotated method only (the injected component worked perfectly in the other methods within the same bean!).
By trial and error I established a workaround using an EJB jndi @Resource annotation, but this was a real hack as it bypasses Seam. Your tip works perfectly so thanks for sharing.
Regards, Andrew
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4028565#4028565
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4028565
More information about the jboss-user
mailing list