I'm using spring/hibernate and the suggestion seems to lean towards passing the domain objects back to the UI layer. I like the idea of having one-to-one mappings, one-to-many mappings etc for objects when I need to display the information on the web UI.

However, when I want to save the object I don't want to have the overhead reassociating the one-to-one objects (I just way to save the oids of the one-to-one or the oids in the linkage table).

What is the best strategy?

Dino