Greetings to all,

i have the following scenario. I want to deploy 5 apps that have exactly the same classes (in jars). Only db access, static files and property files change. In short all WEB-INF/lib jar files are the same. So the question is : option1) If i put the jars under the common/endorsed directory logically they will be loaded once in the jvm so that all the applications will find them (common classpath). option 2) If i keep the WEB-INF/lib structure for each web application then the classes will be loaded for each application thus resulting in consuming more memory from the jvm ? I think from my experience in the second scenario if i do not put the jars in the WEB-INF folder the application does not start (of course since the libs are not in classpath) ...

So is it better practice and probably performance wise to place all jars to tomcat's directory ?

Thank you very much

Leonidas

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to