Please send your Questions & Answers or Feedback to "mohan@javabook.org"

What are the advantages of DataSource?


The few advantages of data source are :
An application does not need to hardcode driver information, as it does with the DriverManager.
The DataSource implementations can easily change the properties of data sources. For example: There is no need to modify the application code when making changes to the database details.
The DataSource facility allows developers to implement a DataSource class to take advantage of features like connection pooling and distributed transactions.
Related Posts Plugin for WordPress, Blogger...
Flag Counter