I don't fully understand the GWT RPC mechanism adn therefore I am looking for a sequence diagram. Does anyone have a link?
THe plumbing diagram on the GWT homepage do not describe the mechanism in every little detail: http://www.gwtproject.org/doc/latest/DevGuideServerCommunication.html#DevGuideRemoteProcedureCalls
A sequence diagram can be found here
https://code.google.com/p/welikegwt-presentation/wiki/GwtRpc
There is no published sequence diagram that I know of. But it wouldn't really be that much of help, because it would have to deal with many levels of abstractions at the same time:
The points to understand are:
So there you have it. The whole asynchronicity stems from how the XMLHttpRequest
object works.
Note that the diagram on the official wiki is misleading - the Javascript calls the async interface, not the synchronous one (as the image would suggest).
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.