1 Reply Latest reply on Mar 29, 2008 5:56 PM by pmuir

    Custom Converter in distinct jar

    taccart.thierry.accart.name

      Hi


      I'm implementing a custom generic entity converter.
      I'd like to have it in its own jar.


      When I let the converter class in the ejb jar, everything is fine.
      When I move it in its own jar, it's not accessed.


      As the converter is accessing EntityManager, I'm wondering if I must add a persistence.xml containing the other ejb jars by doing something


      <persistence-unit ...>
         <jar-file> moduleA-ejb.jar </jar-file>
         <jar-file> moduleB-ejb.jar </jar-file>
      



      Who's got the answer ? :)