what is the use of datasource in core java?

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a buffer in java?

816


What is difference between equal and == in java?

753


Is string a datatype?

771


In java, how we can disallow serialization of variables?

774


Which collection is thread safe in java?

783


what is function overloading in java?

992


Can you use this() and super() both in a constructor?

768


Why heap memory is called heap?

804


Can you create an object of an abstract class?

806


How to sort an unsorted array in java?

901


why we use merge option in hybernate pls give a ex snippet

1727


Is it possible to override the main method?

770


Is java hashset ordered?

852


Can we define private and protected modifiers for the members in interfaces?

885


What does math floor () do?

763