What are the best practices for Spring based application deployment? I have at least two apps based on Spring. I'm deploying them on Tomcat - two instances of the same server with different CATALINA_BASE's.
The result is that size of one of my apps is 30MB and the other is 19MB. Each has same libraries such as Spring, Apache CXF, Hibernate, C3P0 etc.
Is it correct and safe (stable) to keep those libs duplicated in each application and upload 30MB each deploy? Or maybe I should copy common libraries somhere?