what is the use of datasource in core java?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between final, finally and finalize()?

804


What is the intersection and union methods?

799


Explain the importance of import keyword in java?

786


What is difference between next () and nextline () in java?

781


What is :: operator in java 8?

810


What is difference between equals and hashcode method?

804


What are different data types?

792


What are the characteristics of Final,Finally and Finalize keywords.

951


What about abstract classes in java?

845


Is oracle charging for java?

805


How do you use find and replace?

718


What does system.gc() and runtime.gc() methods do?

833


What is the use of isempty in java?

786


What does flagged out mean?

819


What are measurable parameters?

803