How data sources are implemented
Data sources are implemented through a DataSource class. A data source class implements the following interfaces.
javax.sql.DataSource
javax.sql.ConnectionPoolDataSource (allows applications to use connection pooling)