what is the use of datasource in core java?

Answers were Sorted based on User's Feedback



what is the use of datasource in core java?..

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

what is the use of datasource in core java?..

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

what is the use of datasource in core java?..

Answer / developer

jada bakchodi theek ni h yaha per..theek s pado fir jawab
diya kero..All d best wse correct anser:-
It help us in maintaing connection pool and connection
management.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More Core Java Interview Questions

What is the Concept of Encapsulation in OOPS

0 Answers   HCL,


Give an example of use of pointers in java class.

0 Answers  


What do you mean by multithreaded program?

0 Answers  


why java uses class level type casting ?

0 Answers  


What is difference between static class and singleton pattern?

0 Answers  






What happens if I remove static from main method?

0 Answers  


What is the intersection and union methods?

0 Answers  


Explain about the interpreter in java?

0 Answers  


What is codebase?

0 Answers  


What is thread priority?

1 Answers   Tech Mahindra,


Does java support multiple inheritance or not?

0 Answers   Hexaware,


What are the 8 data types in java?

0 Answers  


Categories