title: Does Tomcat load the same library file into memory twice if they are in two web apps?
body: <p>I have two applications under <code>tomcat/webapps</code> folder.   </p>
  
  <pre><code>tomcat/webapps/App1
  tomcat/webapps/App2
  </code></pre>
  
  <p>Both applications share the same libraries. Which are stored for example in <code>tomcat/webapps/App1/WEB-INF/lib</code>.</p>
  
  <p>Are both libraries loaded twice in memory?</p>
  
  <p>Should I put these shared libraries in <code>tomcat/server/lib</code>?</p>