what is the use of datasource in core java?
Answers were Sorted based on User's Feedback
Answer / lark
A DataSource encapsulates state information for a database
such as driver class name, url, username and password. This
info is then handed out via the getConnection() method to
its callers.
| Is This Answer Correct ? | 6 Yes | 1 No |
Answer / mohideen
DataSource is used to acquiting the database connection of
open and close in the connection pools.
DataSource.getconnection() &
DataSource.close().
| Is This Answer Correct ? | 5 Yes | 2 No |
Answer / developer
jada bakchodi theek ni h yaha per..theek s pado fir jawab
diya kero..All d best wse correct anser:-
It help us in maintaing connection pool and connection
management.
| Is This Answer Correct ? | 1 Yes | 0 No |
How we can run a jar file through command prompt in java?
How to perform bubble sort in java?
What is functional interface in javatpoint?
What steps are taken when the OS shifts from one-thread execution to another?
What is exception and error? and what is the difference between them?
How do I get the | symbol on my keyboard?
What about instanceof operator in java?
What happens when I use / and % with a negative numerator?
What is javac_g?
How is hashset defined in java?
What are different types of expressions?
What is main function purpose?