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 difference between getCodeBase and getDocumentBase methods?

1 Answers   CS Business Services,


What is sortedset in java?

0 Answers  


What are different types of expressions?

0 Answers  


What are Encapsulation, Polymorphism and Inheritance?

5 Answers  


what is the difference between the methods sleep() and wait()? : Java thread

0 Answers  






what is business delegate?

2 Answers   TCS,


How do you make an arraylist empty in java?

0 Answers  


How do you declare a variable?

0 Answers  


What is set string?

0 Answers  


Can a class inherit the constructors of its superclass?

9 Answers   iFlex, Wipro,


What is static block?

0 Answers  


What is the relationship between clipping and repainting under awt?

0 Answers  


Categories