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 Restrictions in hibernate?
Explain the difference between private, public, package and protected in java?
Explain the difference between transient and volatile in java?
Is there any limitation of using inheritance?
Is there is any error if you have multiple main methods in the same class?
What is Transient and volatile
23. Storage space in java is of the form Stack Queue Heap List 24. What is java code embedded in a web page known as Applets Servlets scriptlets snippets 25. Which of the following attributes are compulsory with an <applet> tag?. code,height & width. 26. What does 'CODEBASE' in an applet tag specify?. Files absolute path.
If a variable is declared as private, where may the variable be accessed?
What are different type of access modifiers?
How can be define MARKER interfce in java
What does sprintf mean?
What is return type in java?