Monday, February 6, 2012

Re: GWT RPC Problem

Well I think Google search is your friend. A quick search gave me http://support.microsoft.com/kb/282402 which shows you how to increase the limit in IE. Don't know if its possible in other browsers.

In general I would say you should write your app in a way that it does not depend on a lot of parallel ajax connections. If you have a lot of very long running tasks on the server you should think about executing these tasks in threads and let the browser asks for their status periodically (maybe every 10 to 20 seconds). That way the RPC request will return immediately and the browser does not run out of parallel connections. 
You can also batch requests, which means instead of calling 10 methods directly just call one method which tells the server to do 10 things at once.

-- J.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/x30Hc-uM49cJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment