Re: RequestFactory: persisting object graph
On Friday, October 4, 2013 3:42:12 PM UTC+2, Manu Botija wrote:
Thanks, you have given me a very good clarification.Two follow up questions if I may:- Is there a way to know which graph "nodes" have been edited on the client so that my server service only persists those or is that also a business thing?
"Business thing". JPA and JDO track those things, Objectify maybe not.
- Similarly, if on the client I add a new "node" to my graph. Does it also get reconstructed on the server by RF?
Yes. The goal is that the whole graph of proxies on the client side (scoped to those things edit()ed, create()d or passed as arguments to service methods in a given RequestContext) is reconstructed identically with domain objects on the server side (scoped to the HTTP request).
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" 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 http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home