• Post Reply Bookmark Topic Watch Topic
  • New Topic

Local/Remote object  RSS feed

Rinku Gambhir
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?
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!