Long Survey for JSF - Which Choice?

I need to implement long-poll for the notification system, I am currently using the Primefaces ajax scheme, but currently it does not support long polling. I'm just wondering what is available for the JSF developer if they want to implement a lengthy survey? Another question: between long polling and web clicking, for the notification system you prefer?

Note. I am using JSF 2.0, Java EE 6 and Glassfish 3.0.1.

+4
source share
1 answer

Icefaces supports long polling. Another option would be to use open source libraries with JSF. Just search for a long poll or reverse ajax, and you will find several well-known libraries such as Comet and DWR. But since reverse ajax or long polling is pre-configured in Icefaces - I think this is your best bet. I also have the feeling that by now Primefaces already has the inverse ajax function.

0
source

All Articles