I have a web application - deployed on Tomcat.
It has two modules Module A and Module B
Both have java code as well as UI component (struts\JSP etc.)
Functionally, Module A is independent an doesn't depend upon Module B For ModuleA: We create a war for Module A and deploy it as ModuleA.war
Now Module B depends upon Module A We so "merge" the two modules into ModuleB.war This involves merging the web content directories into one
We were feeling uncomfortable with this whole process of merging and wondering if there is a smart way to do this ? We are also considering putting all the web content in one of teh modules - say Module A and just keep the java code in ModuleB
Any suggestions ?