Previous | Next | Trail Map | Building a Service Provider | Contents

Adding Federation Support

The Federation (in the Beyond the Basics trail) lesson describes federation from an API user's perspective. That lesson discussed that federation basically involves three steps:
  1. Figure out which part of a composite name to process.
  2. Decide how to process the part that belongs to the current naming system.
  3. Forward the operation to be completed in the nns (next naming system).

This lesson further details each step and gives examples of how to implement them. It also shows you how to make a context implementation act as an intermediate context for interfaces that it otherwise does not support. Finally, it shows you how to define an object factory for a context implementation so that it can be bound in other naming systems.


Previous | Next | Trail Map | Building a Service Provider | Contents