title: Check RESTful service automatically, without a call?
body: <p>Imagine the scenario:
  You have a database that is queried/updated by more then 1 app, and you also have a RESTful service that uses the database.</p>
  
  <p>Is it possible to, somehow, inform the client (web-page, or whatever) that the database has new data without calling the web-service every second to look for new data?</p>
  
  <p>This question is more in a sense of "reactive" calls, just like RMI methodology works.</p>
  
  <p>I might be dreaming, but there must be a way to do so without having an AJAX call every XX seconds.</p>
  
  <p>PS. if the AJAX call is really necessary, is there a better/smarter way of doing that ?</p>
  
  <p>Sorry if the question is too silly.</p>
  
  <p>I do appreciate your time. </p>