Dynamic Code Downloading of Arguments
- When a remote object gets passed an argument:
- If its a primitive type, there is nothing to do.
- If its an object whose class in on the remote object's
CLASSPATH, then it loads it from there.
- If its not on the CLASSPATH then the object must be
either an implementation of the interface that is declared
as the method parameter or a subclass of the class that is
declared as method parameter. (Why? Otherwise it would not
have compiled.) It gets downloaded from the codebase.
José M. Vidal
.
13 of 22