Friday, December 23, 2016

GWT and async requests (startAsync)

GWT RPC has been thought of as blocking on the server side. Making it async would require changes to the RemoteServiceServlet: most likely the method would be async just like on the client side with the implementation calling the callbacks onSuccess or onFailure.

Your best bet here would be to write a RemoteServiceAsyncServlet by copying from RemoteServiceServlet, hoping for all underlying APIs to be public.
Either that or move off of RPC for that call (future proof)

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment