Anybody have any good design patterns for synchronizing client side relationships with their cmp2.0 server-side counterparts?
I'm using a slsb interface to my entities, pulling back data via dto's, but since my cmrs can go a few levels deep, that is sometimes more data than I want/need to pull back to the client. Likewise, I only want to send a small subset of data back to tell my entities of updated relationships.
It's a common problem (and easily resolved) to keep the network data transport light, but after a couple levels of cmr's, the situtaion gets a bit more complex.
Anyone care to share their experiences? I'm specifically interested in elegant ways to traverse relationships only as far as needed when selecting/updating data.
Thanks,
David
Here's an approach with some interesting comments:
http://www.theserverside.com/patterns/thread.jsp?thread_id=240