Chapter 6. Naming I—RMI registry

  • Purpose—How it works—Names in the registry—Naming class—Registry interface —registry exceptions—Names and URLs—Setup—Configurations—Utilities—Alternative naming services—Exercises

In this chapter

The RMI registry is a naming service which provides clients with a mechanism to find one or more initial RMI servers. This chapter describes the RMI registry's API and configuration. For alternate naming services see Chapter 13.

Purpose

“The Registry is a remote object that maps names to remote objects.”[1]

The RMI registry is a naming service: it provides a name-to-address lookup service like the white pages in a phone book. An RMI server is listed under a name. The listing for the server contains its RMI address, an equivalent ...

Get java.rmi: The Remote Method Invocation Guide now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.