• Post Reply Bookmark Topic Watch Topic
  • New Topic

RMI -- pass by value/pass by reference

 
Ashok Paulraj
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Ranchers,
Could someone explain me PASS BY REFERENCE in RMI with an example. however, I read some articles, I am not able to get the bottom of it.
Also when RMI would use PASS BY VALUE & PASS BY reference. Can we make the option or its JVM way to go !! ?
any input is appreciated!!
~ Shalini
[ February 10, 2004: Message edited by: Taurean Lord ]
 
Chris Shepherd
Ranch Hand
Posts: 286
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
AFAIK There is no pass by reference in RMI. The objects you pass or receive back are serialized copies of the originals. Everything is pass-by-value I guess, even tho for the objects its more pass-by-copy since p-b-v is more of a primatives thing.
HTH
Chris
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!