aspose file tools*
The moose likes Web Services and the fly likes Updating web services without refreshing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Web Services
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: 374
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
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
    
    1
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://aspose.com/file-tools
 
subject: Updating web services without refreshing