2 Replies Latest reply on Dec 4, 2009 7:45 AM by Nicklas Karlsson

    Location of beans.xml



      I've placed my beans.xml in my ear-file (/EarContent/META-INF/beans.xml).
      If I want to use the CDI Annotations (e.g. @Named) for one of my JSF-Beans in my war-file they aren't recognized.
      So I cannot access the bean via EL on a JSF page.
      If i put the beans.xml in my war-file (/WebContent/WEB-INF/beans.xml) everything works fine.
      Is it not possible to put the beans.xml into my META-INF directory of my ear-file?