Forums Register Login

Why we need datasource

+Pie Number of slices to send: Send
Why we need datasource, why can't we directly use the connection pool instead of datasource
+Pie Number of slices to send: Send
application don't need to get brand new connection from database. It gets connection from datasource pool and returns to pool. Moreover you can specify maximum and minimum number of conneections which an application may open with database.
+Pie Number of slices to send: Send
Is this a homework question? Sounds like a copy and paste to me...
+Pie Number of slices to send: Send
we are not directly getting connection from database, connection pool is creating connection, why can't we directly use connection from connection pool............why we need data source in between.
+Pie Number of slices to send: Send
datasource is the config file for server how your server recognizes what is the database name and provider.
Evil is afoot. But this tiny ad is just an ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 1241 times.
Similar Threads
Spring-Hibernate transaction management
custom DataSource and SourceStream for RTP
differences between websphere and weblogic
Oracle XA Datasource
why we need datasource
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 14:44:53.