title: Can a client get servlet's responses without a request?
body: <p>In the traditional way for every client request I get servlet response.<br>
  something like this: </p>
  
  <pre><code>HttpResponse response = client.execute(request)
  </code></pre>
  
  <p>Now I want to get updates from my servlet every time interval.<br>
  How can i catch the server's response?</p>
  
  <p>For comparison when I worked with sockets the  code looked something like this:</p>
  
  <pre><code>public void run()
  {
      while(true)
      {            
          Object serverMessage = inStream.readObject();               
          // Do somthing with serverMessage
      }
  }
  </code></pre>