what is the use of datasource in core java?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
What is the purpose of using java.lang.class class?
How many static init can you have?
What is Java Annotations?
What does snprintf return?
Can a constructor call the constructor of parent class?
how to connect one jsp page to another jsp page????
Give reasons supporting that string is immutable.
Why 1 is not a prime number?
define System.out.println(); what is the meaning!
Can we force garbage collector to run ?
List the interfaces which extends collection interface?
How is string stored in java?