title: how to replace library in shared/lib tomcat without restart the server?
body: <p>I am trying to do a project with micro-webservices with spring boot and tomcat. My idea is pull apart each one services in different projects.</p>
  
  <p>However there are shared services. For this I thought of creating the shared services like web services, however the final system increases the latency, for this reason I think doing it like library <code>.jar</code> and share the folder in tomcat with <code>shared/lib</code> and change the <code>conf/catalina.properties</code>  file <a href="http://www.programania.net/diseno-de-software/ficheros-war-sin-las-librerias-del-proyecto-con-maven-y-tomcat/" rel="nofollow noreferrer">like here</a> with: </p>
  
  <pre><code>shared.loader=${catalina.home}/shared/lib,${catalina.home}/shared/lib/*.jar 
  </code></pre>
  
  <p>The problem occurs when I replace the library .jar for a newer version, I have to restart the server tomcat and all web services within, this is not ok.  </p>
  
  <p>Could someone tell me other option to do it?</p>
  
  <p>Regards.</p>