The JNDI API
by, 05-21-2011 at 10:18 PM (1805 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.