Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What is a JDBC 2.0 DataSource?

DataSource JDBC
0
Posted

What is a JDBC 2.0 DataSource?

0

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. Some downsides are: • Vendor specific set up tools must be used, with no particular standards specified. To quote from the source: “Now he ( the developer – JS ) needs to have his system administrator, SoLan, deploy the DataSource objects so that he… can start using them”. • JNDI must be used to implement a lookup for the DataSource.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123