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 |
What is the benefit of abstract class?
Which methods cannot be overridden in java?
How a variable is stored in memory?
What is bubble sorting in java?
Can static method access instance variables ?
What are the three parts of a lambda expression?
Does java support function overloading, pointers, structures, unions or linked lists?
What does java ide mean?
How does compareto method work?
How do you compare objects in java?
What is the use of static class?
Explain spliterator in java8?