title: Singleton across JVM or Application instance or Tomcat instance
body: <p>If I deploy and run 2 instances of same application on a single instance of Tomcat(Or any other server). Then a single object(of a Singleton class) would be created:</p>
  
  <ol>
  <li>Across single instance of Tomcat (but common for 2 instances of same application)  OR</li>
  <li>Across application instance (different for 2 instances of application)</li>
  </ol>
  
  <p>So essentially I want to understand that is it always a case that a single object of Singleton class gets created per JVM? How does this works in case of application hosted on a Web server(or container).</p>