This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Web Services and the fly likes Updating web services without refreshing Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "Updating web services without refreshing" Watch "Updating web services without refreshing" New topic
Author

Updating web services without refreshing

nirjari patel
Ranch Hand

Joined: Apr 23, 2009
Posts: 239
When a webpage has included a webservice in it, that web service gets uopdated automatically without browser refreshing.

If browser does not refresh, then there is no request being sent from browser (client) to server. When there is no request, how does server update the webpage. That is, how does server complete request-response protocol in absence of request ? Is there a mechanism on the server side, which sends out information to all the webservice user, irrespective of rerceiving request from them ? If yes, what is this mechanism called ?

I have read about AJAX, but that also requires initiation on browser side and then that information is sent to the server. While in case of webservices, page has to be refreshed automatically in order for the web page to be kept uptodate. What iss this mechanism ,ho does itwork ?

Thanks.
Ivan Krizsan
Bartender

Joined: Oct 04, 2006
Posts: 2193
Hi!
Take a look at this webpage, which I hope you will find useful:
http://www.hscripts.com/tutorials/html/autorefresh.php
Best wishes!
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Updating web services without refreshing
 
Similar Threads
Auto-refresh of webpage
XSL and AJAX
how can we cantrol session in java
calling include again
Caching the Servlet's response