Responsive Ads Here

Friday, August 23, 2013

Data access with JDBC

Controlling database connections


DataSource


Spring obtains a connection to the database through a DataSource. A DataSource is part of the JDBC specification and is a generalized connection factory. It allows a container or a framework to hide connection pooling and transaction management issues from the application code.


When using Spring's JDBC layer, you obtain a data source from JNDI


No comments:

Post a Comment