This example shows how simple it can be to use push when coupled with CDI Events, effectively decoupling event producers and consumers across the view layer.

The following link opens the consumer-client window - you can even copy the link and open it in separate browser (simulating two distinct users, who don't share sessions).

Use the input bellow to send a message to all of the windows opened by the above link: