• Post Reply Bookmark Topic Watch Topic
  • New Topic

Local/Remote object

 
Rinku Gambhir
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When a reference of an object is given as an argument to a remote function, the stub serializes the object and sends it through the network and makes a copy of it on the remote server which it access now.

The remote server skeleton can also send the stub of a remote object back if and only if a function was to return a remote object.

But what if the Object given as a parameter is modified by the remote function. The Modifications would, I presume, take place on the copy present on the server-side. I want to know, will these modifications also be reflected on the client-side, i.e., the local object and if so how?
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!