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

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -