Skip to Content
Java RMI
book

Java RMI

by William Grosso
October 2001
Beginner
572 pages
33h 42m
English
O'Reilly Media, Inc.
Content preview from Java RMI

Chapter 15. Naming Services

In Chapter 14, we discussed the RMI registry. In this chapter, we’ll build on that discussion to explore naming services in general. The goal of the chapter is to help you understand just what a naming service is, and how they’re used in distributed computing. We’ll also implement a new and more flexible naming service. As part of doing so, we’ll discuss threading and bootstrapping issues again, this time from an applied perspective. And finally, I’ll introduce an important design technique known as federation. By the end of this chapter, you’ll have a much better understanding of naming services and of how to build multithreaded servers.

Naming services have a long and varied history in distributed computing. Examples of modern naming services include:

The Domain Name System (DNS)

This is how the Internet resolves logical names such as “www.oreilly.com” into IP addresses. Because it is used everywhere, and must handle extraordinary loads, DNS is a very simple protocol with limited query functionality. But it does map logical names to IP addresses and is, more or less, the definitive example of a naming service.

The Lightweight Directory Access Protocol (LDAP)

This is a protocol and API definition developed at the University of Michigan. It is commonly used in large enterprises for authentication (e.g, for storing information about employees in a way that’s easily accessed by computer applications).

The COSNaming Service

This is defined as part of ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Java and JVM at OSCON 2012

Java and JVM at OSCON 2012

O'Reilly Media, Inc.
Distributed Computing in Java 9

Distributed Computing in Java 9

Raja Malleswara Rao Malleswara Rao Pattamsetti

Publisher Resources

ISBN: 1565924525Errata Page