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 purpose of the strictfp keyword?
Explain method overloading?
Difference between vector and arraylist.
What is the use of string and stringbuffer?
Can we declare static variables in JSP page.
Difference between the paint() and repaint() methods?
When should a function throw an exception?
0 Answers Thomson Reuters, Virtusa,
Can Java be said to be the complete object-oriented programming language
If you are reviewing the code of your team members, what points will you look at, assuming the performance of the application is not so great
What does pointer mean?
Does treeset use compareto?
what is the use of Clonable,and serializable interface?