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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.