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

Adding URL Support

The URLs (in the Beyond the Basics trail) lesson describes how the API user can pass a URL string to the initial context and have that URL be processed by a URL context implementation. This lesson shows you how to build a URL context implementation and make it available to the API user. This involves three steps:

The JNDI uses the implementation as follows:

This lesson describes these two ways in detail.

Prerequsite: Before embarking on this lesson, you should already know how to build a context implementation, the details of which are described in the The Essential Components (in the Building a Service Provider trail) lesson. If you are adding URL support to a directory context implementation, then you should also read the Adding Directory Support (in the Building a Service Provider trail) lesson.


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