Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Is this correct?  RSS feed

 
Amit Batra
Ranch Hand
Posts: 361
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If Remote client A wants to send a reference to an object B that is in the same JVM, the stub will actually send a copy of this second object to the server.
But if the client object A wants to send a reference to an Object B thats resides in a different JVM, the stub will then send the stub of Object B to the server instead?
 
jayaram parisineni
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes it is correct
 
Rajan Murugan
Ranch Hand
Posts: 182
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
it is natural.the moment a object is remote you cannot talk to the object directly.so what will you do with the reference.So,to talk you need the stub.so stub is sent.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!