This content has been marked as final. Show 3 replies
Unfortunately it does not working. I am using jboss AS 7.
- ear contains war
- the war contains the beans.xml (with alternative entry) in WEB-INF
- jar B is located in war in WEB-INF/lib (jar B contains also beans.xml in META-INF)
- injection point is in a JSF controller (jar in WEB-INF/lib in war)
Always I1 is injected. But I do not know if I explained it clearly. I1 is always present. I2 is optional but shall have a higher priority.