File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » Web Services
Bookmark "Updating web services without refreshing" Watch "Updating web services without refreshing" New topic

Updating web services without refreshing

nirjari patel
Ranch Hand

Joined: Apr 23, 2009
Posts: 386
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 ?

Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
Take a look at this webpage, which I hope you will find useful:
Best wishes!
I agree. Here's the link:
subject: Updating web services without refreshing
It's not a secret anymore!