Question: Provide a brief discussion of database connection using the JDBC API, which includes: a. Two popular methods used to establish a connection b. Operational procedure

Provide a brief discussion of database connection using the JDBC API, which includes:

a. Two popular methods used to establish a connection

b. Operational procedure to establish a connection

c. How to use a DataSource object to establish a connection

d. Compare two popular methods with the DataSource method in establishing a database connection

Step by Step Solution

3.38 Rating (160 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

a Two popular methods used to establish a connection Method 1 ClassforName In this method we load the JDBC driver by using the ClassforName function T... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Database Systems Design Implementation Questions!