Re: How AsyncCallback works? - RPC services

2011-02-27 Thread dreamer
Thanks Sri. Sounds like very basic implementation. Each browser implementation could vary, not sure. At least, latest versions should have true async implementations. Thread waiting, I wrote few programs like that. It won't scale. I am sure it won't be that simple. On Feb 26, 11:08 am, Sripathi

Re: How AsyncCallback works? - RPC services

2011-02-26 Thread dreamer
True. Not found this kind of details. May be some gwt contributor should be having good Idea about these. On Feb 25, 6:53 am, Jeff Schwartz jefftschwa...@gmail.com wrote: RPC uses Ajax so understanding how Ajax works will answer all your questions. On Fri, Feb 25, 2011 at 9:49 AM, dreamer

Re: How AsyncCallback works? - RPC services

2011-02-26 Thread Jeff Schwartz
I googled found the following: Ajax intro: http://www.javalobby.org/articles/ajax/ Google RPC doc: http://code.google.com/webtoolkit/doc/latest/tutorial/RPC.html On Sat, Feb 26, 2011 at 12:01 PM, dreamer venugopal.vasire...@gmail.comwrote: True. Not found this kind of details. May be some

Re: How AsyncCallback works? - RPC services

2011-02-26 Thread dreamer
Thanks Jeff.these are programming details. But how AJAX is implemented, like is it polling or true call back, using peer to peer techniques, such details not available. On Feb 26, 9:14 am, Jeff Schwartz jefftschwa...@gmail.com wrote: I googled found the following: Ajax

Re: How AsyncCallback works? - RPC services

2011-02-26 Thread Sripathi Krishnan
Here's how it works : 1. Javascript code uses XmlHttpRequest API to start an AJAX call. 2. Browser intercepts XmlHttpRequest method invocation 3. Browser makes a http connection to the server in a *separate thread*. This way, the main user interface thread is not blocked. 4. When

How AsyncCallback works? - RPC services

2011-02-25 Thread dreamer
Hi, Not sure how the AsyncCallback works in GWT. Could somebody share please? 1) Will it create a thread and polls the server ? or 2) Will servers register's client IP and when result is available makes a fresh TCP/IP connection to client and calls client. Within this call

Re: How AsyncCallback works? - RPC services

2011-02-25 Thread Jeff Schwartz
RPC uses Ajax so understanding how Ajax works will answer all your questions. On Fri, Feb 25, 2011 at 9:49 AM, dreamer venugopal.vasire...@gmail.comwrote: Hi, Not sure how the AsyncCallback works in GWT. Could somebody share please? 1) Will it create a thread and polls the server ?