Each writing client should post notifications to a messaging bus, which the reading clients read.
In Java, the standard API is JMS:
[java.sun.com]
The writing clients should post their notifications after confirmation that their database writes succeeded, and their transactions committed.
use UDF's to post the messages automatically from MySQL triggers, but the messages get posted when the data is inserted, which may be some time before it is committed.
-- This message may have been cut off and the rest will only be shown to members. To become a member, click here --