General J2EE: merge two war files into one
Hi everyone, i have two war files that i deploy separately. now instead of going through that pain i want to make one war file, deploying which would deploy those two wars. this can make life easier for other developers where they can just deploy one war instead of multiple. I am using maven. can anybody give ideas to approach this.
- Posted by: neeravagl agl
- Posted on: July 27 2009 12:11 EDT
Depends on what server do you use. If it's an application server like JBoss AS, you can package the WARs into one EAR and deploy that EAR. See here http://www.coderanch.com/t/91212/JBoss/JBoss-EAR-structure