Answer: It stands for Java Naming and Directory Interface. JNDI allows distributed applications to look up services in an abstract, resource-independent way.The most common use case is to set up a database connection pool on a Java EE application server. Any application that's deployed on that server can gain access to the connections they need using the JNDI name java: /env/FooBarPool without having to know the details about the connection.