0 Replies Latest reply on Jan 28, 2008 12:29 PM by Reind D

    Packaging EAR with multiple WARs

    Reind D Newbie

      How should EARs with multiple WARs be packaged? How'bout if they share the same JAR?

      my-application.ear/
       jboss-seam.jar
       lib/
       jboss-el.jar
       META-INF/
       MANIFEST.MF
       application.xml
      
       a.war/
       META-INF/
       MANIFEST.MF
       WEB-INF/
       web.xml
       components.xml
       faces-config.xml
       lib/
       jsf-facelets.jar
       jboss-seam-ui.jar
       login.jsp
       register.jsp
       ...
      
       b.war/
       META-INF/
       MANIFEST.MF
       WEB-INF/
       web.xml
       components.xml
       faces-config.xml
       lib/
       jsf-facelets.jar
       jboss-seam-ui.jar
       login.jsp
       register.jsp
       ...
      
       aandb.jar/
       META-INF/
       MANIFEST.MF
       persistence.xml
       seam.properties
       org/
       jboss/
       myapplication/
      


      Do the jsf-facelets.jar & jboss-seam-ui.jar files have to be packaged in WEB-INF/lib ? Could they instead be put in the root of the EAR (to avoid duplication) .ear/lib ?