RequestFactory works like this:
1. for each modified proxy:
1. find by ID or create domain object
2. call setters on the domain object (if a value is a reference to
another entity, it will be looked up by ID *again*, this means you
must have some kind of "session cache" for the lifetime of the request)
2. call methods, passing the entities retrieved/created at step 1.1
3. call getId/getVersion on the entity proxies (sent and returned) to
tell the client which EntityProxyChange events it should fire
4. call getters to send values back to the client
(well, maybe steps 3 and 4 are swapped, I don't remember).
HTH
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.