CONTENTS | PREV | NEXT | Java Remote Method Invocation |
When a remote object class is created that extendsUnicastRemoteObject
, the object is exported, meaning it can receive calls from external Java virtual machines and can be passed in an RMI call as either a parameter or return value. An object can either be exported on an anonymous port or on a specified port. For objects not extended fromUnicastRemoteObject
, thejava.rmi.server.UnicastRemoteObject.exportObject
method is used to explicitly export the object.
CONTENTS | PREV | NEXT
Copyright © 1997-2001 Sun Microsystems, Inc. All Rights Reserved.