How can I have a push mechanism within a JSF Java EE App?
I have several backend values, that may sometimes change every other second, sometime every other minute, sometimes only one time per hour.
I do not want to do pulling on that variable, as this will be expensive when several clients connect to that page.
So I somehow need a push mechanism to only update the values on frontend if they are changed. Does anyone know how I could do this?
You can use Primefaces Push
Here some ref’s :
PrimeFaces Push Unleashed
PrimePush
User’s Guide 3.4