Java / JNDI
What is JNDI?
JNDI stands for Java Naming and Directory Interface. JNDI allows distributed applications to look up services in an abstract, resource-independent way.
It is an API that provides naming and directory functionality to applications written using Java. It is independent of any specific directory service implementation so it can be accessed in a common way.
It is used 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:comp/env/FooBarPool without having to know the details about the connection.
More Related questions...