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 the best definition for data?

515


What is the difference between class forname and new?

542


Can we define private and protected modifiers for variables in interfaces?

576


How do you do exponents in java?

534


What is string pooling concept?

548






What is boolean data type in java?

559


Which package has light weight components in java programming?

671


What is an 8 bit word?

587


What are the special characters?

531


Can we create a constructor in abstract class?

567


What are the various access specifiers in java?

561


Is array dynamic in java?

477


What is the reason behind using constructors and destructors?

550


Differentiate between postfix and prefix operators in java.

634


What is the difference between access specifiers and access modifiers in java?

567