|Package two war files into an ear, help [message #728451]
||Fri, 23 September 2011 05:58
| Jerome AP
Registered: September 2011
I've benn looking for the forum but I didn't found the exact answer for my questions. Hope I have a better luck with this topic.
The question is very simple, can I package two independent war files into an ear project easily using eclipse?
I explain myself. I've 2 war files, there's no class relations (for the time being) between one and the other and I just want to find a way to package together for convenience. After deploying the ear they have to work like independent projects, with their own URLs and classes.
Is it possible? If it is, I don't find the way to do it.
In the second question is easier, I'm just lokking for an advice.
Can two war files be packaged into an ear project having class dependencies each other? Is it recommended or is better to have two independent projects with their libs in different jars and add them to the respective WEB-INF/lib.
Thank you very much.