If an RMI parameter implements java.rmi.Remote, how is it passed "on-the-wire?" Choice 1It can never be passed. Choice 2It is passed by value. Choice 3It cannot be passed because it implements java.rmi.Remote. Choice 4It cannot be passed unless it ALSO implements java.io.Serializable. Choice 5It is passed by reference.
I think 5 is closest, though it is not strictly "pass by reference" but passing the stub to simulate pass by reference.
posted 13 years ago
a trick. java.rmi.Remote I means it is a SessionBean or Entity bean so its stub will be passed over IIOP over TCP-ip ..