DataSource
From Wikipedia, the free encyclopedia
- This article is about the java class. For data source names (DSNs), see Database Source Name.
DataSource
This is an interface in the java language- javax.sql.DataSource-
An object implementing DataSource provides the means by which connection pooling may be neatly hidden and performed.
A DataSource object is a factory for Connection objects. An object that implements the DataSource interface will typically be registered with a JNDI service provider. A JDBC driver that is accessed via the DataSource API does not automatically register itself with the DriverManager.
This is the preferred way of communicating with a data source (for example, a database) and provides a good alternative to using a DriverManager.
Connection Pooling Software