I am trying to design an appllication that using dynamic notification to clients upon data store updates (i.e. background threads a,b & c update an event database, and then another ejb notifies gui Z that updates have occurred and either provides the updates or indicates that updates have occurred. Gui Z (could be stand alone java app or applet) then calls an ejb to retrieve the updates for display). The general purpose is to eliminate continually polling the database for new updates.
Is there a design pattern for client registration, update notification, etc for this. I had envisioned using message ejbs for this.