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 to find the given number is a prime number or not by getting input from the user
Can we use this () and super () in a method?
Explain about member inner classes?
Is a char always 1 byte?
Which sorting algorithm is in place?
What is int short for?
How do I get the | symbol on my keyboard?
What is advantage of using threads?
what is static import in java? Explain
What is a java applet? What is an interface?
Is singleton a bad practice?
What is the difference between JDBC 1.0 and JDBC 2.0?