• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

DataSource & ConnectionPool

 
eswar kumar
Ranch Hand
Posts: 98
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI
Can any one of you tell me the difference between DataSource and ConnectionPool?
 
Pradeep bhatt
Ranch Hand
Posts: 8933
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
DataSource encapsulates a connection.A DataSource object has properties that can be modified when necessary. For example, if the data source is moved to a different server, the property for the server can be changed. The benefit is that because the data source's properties can be changed, any code accessing that data source does not need to be changed.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic