If I return an object from an App Server to a Web Server, how can I make sure the object within the Web Server does not reference the object within App Server. If the App and Web Server run in different VMs then I do not have a problem, but if they run within the same VM I have just the one object which does not work well with our design. I realize I could always clone the object, but did not want to do this extra step if App and Web Server run in different VMs.
Thanks
Use the ByValueInvokerInterceptor
Regards,
Adrian