Server side Event bus
mike thompson
mithomps at redhat.com
Tue Jul 31 18:53:14 UTC 2012
On Jul 31, 2012, at 9:03 AM, Heiko W.Rupp wrote:
> Hi,
>
> so the other day we were talking about agents forwarding some information out-of-band to the server
> so that the messages can be shown in the message center.
>
> We should perhaps pick that idea up and extend it in a way that the server can push
> information into the UI without requiring the user to select a different tab or clicking some
> refresh button.
>
> There are many use cases for this:
>
> - out-of band messages from agents to be shown in the message center : mark the message center button accordingly
> - updating of the tree when a new child resource has been added
> - updating of history pages when an entry has changed
> - updating of metrics pages when new data was received
> ...
>
> The general idea here is to make the UI more responsive in the sense that the
> user gets actively informed and does not have to remember to manually check
> here and there (and to remember to do it in case X while it is not needed in case Y).
>
> While the above is a nice use case of Errai, I think we don't necessarily use it
> for implementation; it could server as example on how to do it though.
What implementation of push on the client side did you have in mind? You still need a Comet implementation or Web Sockets or even some form of long polling.
>
> Heiko
>
>
> --
> Reg. Adresse: Red Hat GmbH, Technopark II, Haus C,
> Werner-von-Siemens-Ring 14, D-85630 Grasbrunn
> Handelsregister: Amtsgericht München HRB 153243
> Geschaeftsführer: Mark Hegarty, Charlie Peters, Michael Cunningham, Charles Cachera
>
> _______________________________________________
> rhq-devel mailing list
> rhq-devel at lists.fedorahosted.org
> https://lists.fedorahosted.org/mailman/listinfo/rhq-devel
More information about the rhq-devel
mailing list