I will have multiple webapps. All webapps being java based and using Spring/hibernate etc. If I put all third party jars in each war file ( corresponding to each webapp ); there would be huge memory footprint !
When third party jars ( like spring/hibernate ) are common across all webapps; what is the best way so as to have minimum memory usage ? One option I could think of is to put these third party jars in Tomcat/lib so that they can be shared across multiple webapps..
Is there any other better way ?