O'Reilly logo

Special Edition Using Enterprise JavaBeans™ 2.0 by Brian Keeton, Chuck Cavaness

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Selecting and Configuring a JNDI Provider

As with virtually every other Java technology, JNDI must be properly configured before you can begin to use it. This is mainly due to the separation of interfaces and implementation. The naming service must be properly configured so that an installed provider will handle the work when a client uses the JNDI APIs. Also, any client application that wants to use the naming service must also be properly configured so that it can locate the naming service and then look up resources within it.

Configuring JNDI sometimes can cause great frustration unless you really understand what you are trying to set up and why. When using an EJB server, JNDI is usually already configured for the server and starts up when ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required