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 Bachert
http://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.
--
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.