Chapter 13. Naming II—JNDI and Jini

  • JNDIJNDI operations—Providers—Examples—Other features and setup—Other JNDI Service providers—Naming in Jini—Exercises

In this chapter

This chapter describes the Java Naming and Directory Interface (JNDI) and the Jini Discovery and Lookup Services.

Chapter 6 introduced the RMI registry, which provides a namespace for registering RMI servers, thus providing a “bootstrap” mechanism by which an RMI client can obtain an initial remote reference.

The RMI registry only implements a “flat” namespace, and is subject to elementary security restrictions. For example, RMI servers can only be bound to an RMI registry running in the same host as the program which does the binding.

For a more powerful naming solution, we need ...

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.