The so-called "Comet" technique is perhaps what you are looking for: http://ajaxian.com/archives/comet-a-new-approach-to-ajax-applications
//Adam On 31 Juli, 02:03, Blessed Geek <blessedg...@gmail.com> wrote: > In Flash, I could create an async socket. > Which is very useful because it allows server pushing data > asynchronously (i.e. on the events of new data is available or changes > in data) to the client without the client's constant initiative. > > Does GWT have a means to create async sockets? > > Actually, how would you create an browser-side async socket in > javascript? > > I know of a way some people play cheat by polling. Using the browser's > javascript, they create a so-called listener in which you declare the > url you wish to listen to and the interval of polling. And on the > listenee side, you have to install a message pusher that would listen > for the browser's "listener" polling. > > I think that is cheating because the actual listener is the server not > the browser, because the browser is initiating data transfer by > polling and the server listens to the poll. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---