title: Database polling using Triggers in Java Application
body: <p>Could someone please guide me into the right direction for this:</p>
  
  <p>I wan to have an asynchronous function in my Java program that when called, it continuously monitors changes of some table in the DB. And when a change occurs, it returns some event. But it keeps doing this, as long as the application is running.</p>
  
  <p>Any help would be great... thnx!</p>