CONTENTS | PREV | NEXT Java Remote Method Invocation

Registry Interfaces






CHAPTER 6
The RMI system uses the java.rmi.registry.Registry interface and the java.rmi.registry.LocateRegistry class to provide a well-known bootstrap service for retrieving and registering objects by simple names. Any server process can support its own registry or a single registry can be used for a host.

A registry is a remote object that maps names to remote objects. A registry can be used in a virtual machine with other server classes or standalone.

The methods of LocateRegistry are used to get a registry operating on a particular host or host and port.


Topics:



CONTENTS | PREV | NEXT
Copyright © 1997-1998 Sun Microsystems, Inc. All Rights Reserved.