| Author |
Server side data push in a java spring-jsf2 web project
|
Swarnajith Fernando
Greenhorn
Joined: Jan 27, 2011
Posts: 7
|
|
How do I implement a server side data push in a java spring jsf2 dynamic web project with jquery functions working on front-end web page.
I want to get server side updates without a user interaction into the facelets xhtml front end page which should display cell by cell updates to a html table.
Can anyone please explain with a working code example.
Thanks in advance.
|
Software Engineer(BSc.(Hons)in Computing - UK)J2EE/Spring/Hibernate/PHP - "Knowledge is Power When Applied"
|
 |
Rob Spoor
Sheriff
Joined: Oct 27, 2005
Posts: 19216
|
|
|
Unless both your browser and server support WebSockets, the server cannot push anything. The best you can do is use a timer to regularly use AJAX to request new data from the server.
|
SCJP 1.4 - SCJP 6 - SCWCD 5
How To Ask Questions How To Answer Questions
|
 |
Swarnajith Fernando
Greenhorn
Joined: Jan 27, 2011
Posts: 7
|
|
|
Can you please explain the technique which you mentioned with AJAX.
|
 |
 |
|
|
subject: Server side data push in a java spring-jsf2 web project
|
|
|