Ray,
When passing an exported remote object as a parameter or return value in a remote method call, the stub for that remote object is passed instead. Remote objects that are not exported will not be replaced with a stub instance. A remote object passed as a parameter can only implement remote interfaces
What i make out of this is.
1. A class implements Remote interface, extends RemoteObject or calls the export method on itself:Reference is passed (I have tested this)
2. A class implements Remote interface and does nothing else: Value is passed (I have not tested this)
Anyone else on this one?
Dushy
SJCP, SCBCD, SJCD, SCDJWS, SCEA (Part I)