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

How do you remove an element from an arraylist in java?

684


How to handle a web browser resize operation?

766


Explain the difference between protected and default access.

757


What are the different conditional statements?

764


What are the 7 types of characters?

846


What is the default value of the local variables?

720


When is finally block not called?

829


Is it possible to write a regular expression to check if string is a number?

794


What is the locale class in java programming?

762


What are different types of inner classes ?

785


Define jit compiler?

851


What is the importance of static variable?

806


What's the base class in java from which all classes are derived?

1019


What is the function of compareto in java?

816


What is a key in java?

741