title: how to Injection a FacesConverter or managed bean from a lib/jar file?
body: <p>I try to build a JSF 2.0 Web application which is using libraries including EJBs and FacesConverters/ManagedBeans.</p>
  
  <p>My war file looks like this:</p>
  
  <pre><code>-WEB-INF/
   |-beans.xml
   |-lib/
   |  |-myejb.jar
   |  |-myconverter.jar
  </code></pre>
  
  <p>both jar files contain also a beans.xml file placed into the META-INF folder.
  The strange thing is, that the EJBs are working well.
  But my converter included in the myconverter.jar file is not seen form my web application. I got the following message:</p>
  
  <p>javax.faces.FacesException: Ausdrucksfehler: Benanntes Objekt org.imixs.VectorConverter nicht gefunden.</p>
  
  <p>When I put the converter class directly into the classes from my web module it works.</p>
  
  <p>The converter class looks like this:</p>
  
  <pre><code>...
  @FacesConverter(value="org.imixs.VectorConverter")
  public class VectorConverter implements Converter {
  </code></pre>
  
  <p>I am using no faces-config.xml </p>
  
  <p>the converter is added in my xhmtl file like this:</p>
  
  <pre><code>&lt;h:inputTextarea required="false"
      value="#{teamController.members}"&gt;
      &lt;f:converter converterId="org.imixs.VectorConverter" /&gt;
   &lt;/h:inputTextarea&gt;
  </code></pre>
  
  <p>So my question is: why is the converter not seen when it is placed into a jar module?</p>
  
  <p>I am running the app on GlassFish 3.1.1</p>
  
  <p>thanks for any help</p>