Long Polling (aka server push) with JsonpRequestBuilder?
Hi,
I am trying to implement server push using the idea described here,
http://code.google.com/p/google-web-toolkit-incubator/wiki/ServerPushFAQ
While I have read that one must keep the outbound connection down to
two, I cannot seem to be able to have two simultaneous requests from
JsonpRequestBuilder succeed.
I use httpfox, and both requests return successfully with their json
data, but GWT will throw a SocketTImeoutException for the 2nd
request. The same request is successful if there I am not doing my
"polling" in another request.
Here's the step process:
1) Make a request #1 using JsonpRequestBuilder. The server "waits".
2) Make a request #2 JsonpRequestBuilder. The server responds
(according to httpfox) successfully.
3) GWT reports a com.google.gwt.jsonp.client.TimeoutException for the
request #2
4) Request #1 completes successfully (both httpfox and GWT)
Any thoughts?
Thanks for reading,
Phillip
--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home