0 Replies Latest reply on Dec 30, 2011 6:39 AM by Andreas Karalus

    EAR Packaging

    Andreas Karalus Newbie

      Hello,

       

      we have quite a big application trying to migrate to JBossAS7.

       

      Our current packaging looks like this:

       

      app.ear

      |--META-INF/application.xml

      |--lib/

           |-thirdparty1.jar

           |-thirdparty2.jar

      |

      |--component-api.jar

      |--component-impl.jar

      |--frontend1.war

      |--frontend2.war

       

       

      In component-api.jar we have the EJB LocalInterfaces and the @Entity Models. I know that per spec, these are not EJB components and should go to app.ear/lib.

       

      However, this structure does not deploy in the latest JBossAS7 (7.1.0CR1), but it worked with previous versions. Moving component-api.jar to lib/component-api.jar does the job.

       

      Is it possible to have above EAR structure being deployed in AS7? It would be nice to have clear separation between "application" components and "thirdparty" components (like log4j, commons-*). Actually, we have like 30 "component-api|impl" artefacts.

       

      Regards,

      Andreas