I'm looking for a servlet that can automatically detect an alert from either a mysql or postgresql DB for an apache server. Once an alert has been found, an event needs to be called. I need this in open source so that it may be modified.
I'm just looking for the general architecture or the groundwork for this. Nothing advanced is neccessary, but would be helpful. Preferably written in Java or C.