Web tier: servlets, JSP, Web frameworks: 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 10:48 EDT
I can see the following solutions to your problem: 1. You can automate your deployment by writing a script that automatically deploys both of your webapps. Share this script with your developers and you are ready to go. 2. If you use Maven it probably means that you have two separate projects. You need to merge these projects into one, at least the web part. However, the java part can be still kept separately as separate projects. Regards, Sergei Java Development on Demand http://www.hitech.com.ua/en/