C
cyberco
I want to send a class (compiled java file, not an object) over RMI so
that the receiving party can instantiate objects with that class file.
Using an RMI codebase is sub-optimal since the type of class is
dynamically generated and will thus change very often. Is there a way
to serialize the class file, send it to the receiver, have him add it
to his classpath and use it to instantiate objects?
that the receiving party can instantiate objects with that class file.
Using an RMI codebase is sub-optimal since the type of class is
dynamically generated and will thus change very often. Is there a way
to serialize the class file, send it to the receiver, have him add it
to his classpath and use it to instantiate objects?