title: Java - synchronizing static methods
body: <p>Here is a piece of text I found at <a href="http://www.theserverside.com/news/1363681/Scaling-Your-Java-EE-Applications" rel="noreferrer">this</a> link.</p>
  
  <blockquote>
    <p>"Avoid lock on static methods</p>
    
    <p>The worst solution is to put the "synchronized" keywords on the static
    methods, which means it will lock on all instances of this class."</p>
  </blockquote>
  
  <p>Why would synchronizing a static method lock all instances of the class? Shouldn't it just lock the Class? </p>