I would like to have confirm about RMI theory.
Let us suppose that Client A requests a remote reference of an object O to a Server B.
Well, now if In O interface (Interf) there is a method like: void foo(Interf obj);
When Client A calls O.foo(O) it passes stub reference (before received ) and then Server does not use its local reference but the Stub Object (received by Client), and so each call on O methods by Server will make use of its TCP/IP service.
Is it Ok?
You should feel free to add some details if you think that those can improve my RMI understanding.
Regards