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>
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3976599#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...