You use the RMI Registry Browser by right-clicking the RMI Registry node or its subnodes in the Explorer window and choosing a command from the contextual menu. The contextual menu for each type of node are described below.
This node represents the RMI Registry browser.
The nodes displayed when the RMI Registry node is expanded represent a specific instance of an RMI registry, for example, localhost:1099.
One of the nodes displayed when a specific registry node is expanded
represents Java objects that have been exported to an RMI registry. A
registry can contain many remote objects. For example, if you generate
an implementation class with the RMI module and run it, the instance
created by the implementation class's main
method appears
as a remote object node.
The nodes displayed when a remote object node is expanded represent the remote interfaces that are implemented by the remote object.
try { interface obj = (interface) Naming.lookup ("//host:port/name") } catch (Exception ex) { ex.printStackTrace(); }
See also | |
---|---|
Starting a New Local Registry
Viewing a Running Registry |