O'Reilly logo

J2EE™ Applications and BEA™ WebLogic Server™ by Sandra L. Emerson, Rob Woollen, Michael Girdley

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

JNDI Best Practices

As with any distributed program, JNDI clients need to be aware of efficiency concerns to ensure high performance and scalability. Like RMI calls, the WebLogic Server optimizes JNDI lookups from code running in the server's JVM when they are performed. A lookup within the WebLogic Server is a very efficient operation. In essence, it amounts to a direct method call and a data structure lookup. JNDI clients running within the server should not generally bother to optimize their usage of the naming service.

JNDI lookups within the WebLogic Server are highly optimized.

However, remote clients should consider optimizing (minimizing) the number of round trips between the client and server. Like any remote interaction, each naming ...

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