Using a single copy would save memory, but not a very large amount compared to the size of 15 typical webapps. More significant are the convenience factors:
Using a single shared copy of the lib is good if the webapps are all related and you need to make sure they're all using the same version of the shared lib. Multiple copies can get out of sync. Using separate copies is good if the webapps are independent, and you're worried about an update to the shared lib causing compatibility problems with the other 14 apps. Also, if each webapp has its own copy, the lib is part of each app's .war; but a shared copy requires a separate installation step. -- Len On 6/27/07, Przemysław Klein <[EMAIL PROTECTED]> wrote:
Hi there.. I have 15 apps on my Tomcat. Five of them require library abc.jar (~1,5MB). From the resources point of view (mem, cpu) is it better to make abc.jar visible globaly to all applications (place it in $CATALINA_HOME/common/lib) or copy to WEB-INF/lib of all five dependent applications? Regards, prp -- _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ Przemek Klein ([EMAIL PROTECTED]) --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]