Push Notifications And Java-Based Servers

Hi Experts ,

Can you please advice me how the “javapns” api will be invoked the  push notification  when mysql db is changed ( assume new row is added in any table) …  I am not clear how the mysql changes will known to java webservice so that it can invoke the push api … 

Any help will highly appreciated.

Thanks 

Kind Regards

raky