Hi,
Is that also the case for detached objects that contain collection references to other persistent instances? Would AuctionItem/Bid example from your JAOO presenation on slide 47 work if persistent instances are modified in a remote vm and then changes persisted in session update call on the server side?
I got the impression that it would not work since that is what gloeglm seems to indicate in the recent post:
gloeglm wrote:
If you really have detatched objects (e.g. sending the objects to a swing application) you have to ensure the client side code does not hit any uninitialized collections, otherwise you get an Exception. If you are still in the server environment (e.g. Servlets, JSP) you should take a look at the Open Session in View pattern in the Wiki Community area.
Regards,
Vladimir