InterviewSolution
| 1. |
What Is A Jdbc 2.0 Datasource? |
|
Answer» The DataSource class was INTRODUCED in the JDBC 2.0 Optional Package as an EASIER, more generic means of obtaining a Connection. The actual driver providing services is DEFINED to the DataSource OUTSIDE the application ( Of course, a production quality app can and should PROVIDE this information outside the app anyway, usually with properties files or ResourceBundles ). The documentation expresses the view that DataSource will replace the common DriverManager method. The DataSource class was introduced in the JDBC 2.0 Optional Package as an easier, more generic means of obtaining a Connection. The actual driver providing services is defined to the DataSource outside the application ( Of course, a production quality app can and should provide this information outside the app anyway, usually with properties files or ResourceBundles ). The documentation expresses the view that DataSource will replace the common DriverManager method. |
|