What is JNDI?

Sharad Jaiswal
Sharad Jaiswal

Posted On: Mar 21, 2020

 

JNDI (Java Naming and Directory Interface) is a Java API for directory service. It allows Java software clients to discover data and resources. It also specifies a service provider interface to allow directory service implementations to be plugged into the framework.

The main use of this interface is to connect a Java application to an external directory service and to allow a Java Servlet to lookup configuration information provided by the hosting web container.

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    Ldap Server Interview Questions

    Where is LDAP used?

    This protocol is mainly used for querying and modification purposes and it is used in places such as Microsoft Active Directory, OPEN LDAP, and many more....