3 Replies Latest reply on Feb 14, 2011 3:15 PM by gilbertjgs

    Seam with multiple ejb jars

    torghal.tonny.bruckers.gmail.com
      Does any one have an example of how to package an ear file with multiple ejb jar files?
      The application has:
      - one ejb jar containting Entity Beans:

      META-INF
      +- persistence.xml
      - ejb-jar.xml
      - jboss.xml
      seam.properties

      - one ejb jar containting Session Beans
      META-INF
      +- persistence.xml
      - ejb-jar.xml
      - jboss.xml

      - one web war containing Seam components

      When a Session Bean is called from a seam component we get a Unknown Entity error.  Do we have to "register" the ejb jar containing the Entity Beans in the ejb jar containing the Session Beans?