title: Distributed synchronized execution
body: <p>I'm trying to accomplish something that in terms of concept is very simple to understand. I want to synchronize a block of java code between different machines. There are two instances of a programa running in different machines that cannot run at the same time.</p>
  
  <p>I've heard of zookeeper, jgroups and akka too, but while reading the documentation it seemed to me a bit overkill for what I'm trying to do. Does anyone have any idea if there's anything more straight forward to use?</p>
  
  <p>Thanks in advance,</p>
  
  <p>Rui</p>