[jboss-user] [JBoss Seam] - Using @In to inject a reference to a bean in a different Jar

EoinByrne do-not-reply at jboss.com
Fri Dec 21 07:22:03 EST 2007


Hi guys

I have an ear file containing 2 jars as ejb modules.  In jar A I have a bean which extends a pojo in Jar B and uses the @In tag to inject a reference to an ejb in jar b.  It seems that the reference is comming out as null.

For the In tag itself I am specifiing create=true and required=true.

Is there some way to inject a reference to a bean in a different jar while still using annotations?

Thanks
Eoin


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

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



More information about the jboss-user mailing list