I'm using the HttpInvokerServiceExporter to export some of my service facades. The issue that I have come across is when I send an object over from the client to the server, the server performs some business logic which might update the passed in object, but the service does not return the passed in object. How is the client suppose to see the modifications?
-- Client side:
-- Server Side:Code:SomeObject obj = new SomeObject(); removeServiceHandle.updateObject(obj);
Code:updateObject(SomeObject obj) { obj.setVersion(obj.getVersion() + 1); return 1; }
Now the server has updated the passed in object but the client will never see the changes. So what is the work-around for this issue?
Does the object that gets updated always need to be returned or is there another way for the client to see the changes made?
Thanks for the help..


Reply With Quote