Say I have objects such as a Business with a List of Address objects, and an Order that has a Business.
Is it possible to configure so that when the Order is serialized it excludes the list of addresses from the Business object, and when the business is serialized it includes the list?
I'm using ajax to pull data for an RIA and when working with the Order I don't really care about the address data, but when dealing with Business I do want the list.
I'm also using Hibernate for persistence so this is really an efficiency and performance optimization.