[jboss-user] [JBoss Seam] - Packaging EAR with multiple WARs

reind do-not-reply at jboss.com
Mon Jan 28 12:30:01 EST 2008


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 ?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124135#4124135

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124135



More information about the jboss-user mailing list