java - JSF - update component by ApplicationScoped Bean? (Communication between clients) -


i have application-scoped bean hashmap of view-scoped (or session-scoped) beans in it.

so when application bean 'decides' change specific value in specific view or session bean thats not problem...

but dont know how can automatically update involved html-components.

i cant use facescontext or requestcontext because command comes client ...
of cause use second thread each client check if value has been changed. im pretty sure thats quite dirty. there implemented interfaces, listeners or something?

whats best way solve problem? or there better way let useres communicate each other or send global commands


Comments

Popular posts from this blog

hibernate - How to load global settings frequently used in application in Java -

python 3.x - Mapping specific letters onto a list of words -

objective c - Ownership modifiers with manual reference counting -