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

how is final different from finally and finalize in java?

816


What is anagram number?

652


What is use of a abstract variable?

746


What do you understand by garbage collection in Java? Can it be forced to run?

756


What is primitive array?

685


What are static blocks in java ?

834


Does isempty check for null?

773


What are the four integer types supported by java?

789


Explain the importance of finalize() method.

754


What invokes a thread's run() method in java programming?

808


How do you sort objects in java?

742


What is a conditional equation?

779


Compare overloading and overriding?

786


What is the difference between JDK and JVM?

869


Explain about doubly linked list

831