File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JNLP and Web Start and the fly likes what is JNDI Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JNLP and Web Start
Bookmark "what is JNDI " Watch "what is JNDI " New topic

what is JNDI

Mariadasu namburi

Joined: Feb 03, 2005
Posts: 2
any can explain me what exatly JNDI where it is used.

Damanjit Kaur
Ranch Hand

Joined: Oct 18, 2004
Posts: 346
A directory service wherein one can hook in various different resource like database,Ejbs,printers etc by providing unique name to each resource so that when one needs to access them one uses this unique name to lookup for that resource. JNDI useful in distributed environment, provides for location transparency.
K Wright

Joined: Feb 17, 2005
Posts: 3
JNDI is used not only as a lookup point for Java container services (like JMS queues and datasources), but also as a generic interface to many directory services. It is commonly used as a means for accessing LDAP services and sometimes file systems.
The JNDI service itself is usually provided by a Java container to the applications that are running in it, but can also be provided by simple providers like Sun's file system JNDI service available from:
I agree. Here's the link:
subject: what is JNDI
It's not a secret anymore!