JNDI Interview Questions and Answers

JNDI stands for Java Naming and directory interface is a Application programming interface (API).It provides naming and directory functionality to application written using the Java. It is independent of any specific directory service implementation so it can be accessed in a common way. It is mainly 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.




















Scroll to Top