View RSS Feed

My Java Tips

The JNDI API

Rate this Entry
by , 05-21-2011 at 10:18 PM (1354 Views)
JNDI API package is called javax.naming package. It is composed of 5 interfaces, 10 classes along with few exceptions. InitialContext is the key class.

This is what Sun Java Docs say about InitialContext:
Java 2 Platform SE v1.3.1: Package javax.naming

In JNDI, all naming and directory operations are performed relative to a context. There are no absolute roots. Therefore JNDI defines an initial context, InitialContext, which provides a starting point for naming and directory operations. Once you have an initial context, you can use it to look up other contexts and objects.

Submit "The JNDI API" to Facebook Submit "The JNDI API" to Digg Submit "The JNDI API" to del.icio.us Submit "The JNDI API" to StumbleUpon Submit "The JNDI API" to Google

Tags: jndi Add / Edit Tags
Categories
Java EE , JBoss

Comments