how to deal with shared-libraries for many web applications using the same libraries
问题 We have a web application made in Java, which uses struts2, spring and JasperReport. This application runs on glassfish 4.0. The libraries of the application are in the WEB-INF/lib folder, and also in glassfish are installed 4 more than uses the same libraries. Glassfish is configured to use 1024mb for heapspace and 512m for permgen, and the most of the memory consumption when i use libraries per application is in the struts actions and spring aop classes (using netbeans profiler). The