This content has been marked as final.
Show 2 replies
-
1. Re: SLBs cyclic dependencies
bill.burke Oct 6, 2006 10:11 AM (in response to yandosh)Yes, use the @org.jboss.annotation.IgnoreDependency annotation. THere is also an XML equivalent
i.e.@EJB @IgnoreDependency MyEJB ref; or jboss.xml <jboss> <enterprise-beans> <session> <ejb-name>Session2Bean</ejb-name> <ejb-ref> <ejb-ref-name>session1</ejb-ref-name> <ignore-dependency/> </ejb-ref> </session> </enterprise-beans> </jboss>
-
2. Re: SLBs cyclic dependencies
bill.burke Oct 6, 2006 10:11 AM (in response to yandosh)use @IgnoreDependency to break the cyclic chain.