What is the difference between a JNDI and a datasource?
* JNDI (Java Naming and Directory Interface) is a naming service used to locate objects in datasources, JMS, MailSessions etc.
* Datasource is an object used to access the connections in the pool.
* JNDI physically connects to the database where as the datasource is a logical resource.
No comments:
Post a Comment