title: When writing JDBC connection pool, what is the difference of using Driver or DataSource?
body: <p>When I am writing connection pool to connect to database, I am always confused about the difference of using a Driver-based connection or a DataSource-based connection. It seems both of them can get the things done, but I am not sure of their difference. Can anyone tell me about it, or give me some kind of links?</p>
  
  <p>Thanks in advance.</p>