I have JNDI set up in my Tomcat server.xml and working with an Oracle 9i database for my web app. Is JNDI equal to Connection Pooling? If so I assume I have successfully implemented Connection Pooling for my web app? [ November 19, 2007: Message edited by: Ed Carrington ]
It is an intrface to directory servers like LDAP etc. For example JDBC is an interface to your database servers. Likewise JNDI is an interface to directory servers like LDAP. Using JNDI you can look up objects, user credentials, printer information etc stored in the underlying LDAP implementations. LDAPs are generally faster to search than Database servers.
You can also look up JDBC connection pools, JMS queues etc using JNDI. Most application servers have a JNDI implementation to facilitate lookups. [ November 19, 2007: Message edited by: arulk pillai ]