Re: Novice GWT question: Parallel Post Requests
I've run into this exact problem before, but not while using GWT. I found that for XHR's, Post 1 must return before Post 2 can return. I'm not sure why this it, but it seems to be the case at least on FF and Chrome.
My use case was to:
- Post 1 - start a long running task
- Post 2 - Check on state of long running application (repeat on timer)
- Post 1 finally returns.
I had to work around with setting a work queue in a database and then checking it with a cron job (it was PHP, so no persistent global synchronized lists like in Java), but I'd love to know why this works this way. I just assume it is some browser quirk.
Sincerely,
Joseph
-- 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/-/zl-Eh8pSmhcJ.
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