Thanks for response. However may be my question was misleading and thus I did not get the answer.
My question is "how do you maintain mapping between Model objects at client" Say for example, over the course of user conversation, there were three DIFFERENT ajax calls to load CUSTOMER, ORDERS and ITEMS. Now do you manually map CUSTOMER to ORDER and ORDER to ITEM in client after data is received from server, to maintain mapping between Model objects ( or do you store CUSTOMER, ORDER, ITEM separatly with no mapping or there is a framework which maps obejcts with configuration like hibernate mappings in client) thanks On Jul 12, 12:34 pm, Stefan Bachert <[email protected]> wrote: > Hi, > > the client does not know about OR at all. There is NO WAY to lazy load > something. The client only know objects. > > In a real good client architecture a view/control works against a > model proxy in the client (sometimes I call them client object cache) > Either the model object is already in the cache or it will be > requested. > In such an architecture the use of comet/server-push techniques is > essential. > You could decide on server side which strategy regarding a certain > model object is the best ("eager" supplying dependent object too, or > not ) > However, feeling well in the async world is a prerequisite > > Stefan Bacherthttp://gwtworld.de > > On 9 Jul., 20:22, mk <[email protected]> wrote: > > > > > How do you maintain rich OR mapping in client. > > > For example CUSTOMER has many ORDERS and each ORDER has many ITEMS. > > > Now GWT makes DIFFERENT ajax calls wherein CUSTOMER, ORDER, ITEM are > > loaded at separate times (eager fetching does not look good thus lazy > > fetching only). > > > Thus do you manually map objects again in client ( or do you store > > CUSTOMER, ORDER, ITEM in separate shared variables or something > > else.....). > > > I am sure you experts out there must have some directions for us.- Hide > > quoted text - > > - Show quoted text - -- 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.
