CONTENTS | PREV | NEXT | Java Remote Method Invocation |
Objects are only cloneable using the Java language's default mechanism if they support the java.lang.Cloneable interface. Remote objects do not implement this interface, but do implement theclone
method so that if subclasses need to implement Cloneable the remote classes will function correctly.Client stubs are declared final and do not implement
clone
. Cloning a stub is therefore a local operation and cannot be used by clients to create a new remote object.