title: Good Zookeeper Hello world Program with Java client
body: <p>I was trying to use Zookeeper in our project. Could run the server..Even test it using zkcli.sh .. All good..
  But couldn't find a good tutorial for me to connect to this server using Java ! All I need in Java API is a method </p>
  
  <pre><code>public String getServiceURL ( String serviceName ) 
  </code></pre>
  
  <p>I tried <a href="https://cwiki.apache.org/confluence/display/ZOOKEEPER/Index" rel="noreferrer">https://cwiki.apache.org/confluence/display/ZOOKEEPER/Index</a> --> Not good for me. </p>
  
  <p><a href="http://zookeeper.apache.org/doc/trunk/javaExample.html" rel="noreferrer">http://zookeeper.apache.org/doc/trunk/javaExample.html</a> : Sort of ok; but couldnt understand concepts clearly ! I feel it is not explained well..</p>