What is JDBC Driver Manager ?

#1
The JDBC DriverManager class defines objects which can connect Java applications to a JDBC driver. DriverManager has traditionally been the backbone of the JDBC architecture.

The Standard Extension packages javax.naming and javax.sql let you use a DataSource object registered with a Java Naming and Directory Interface(JNDI) naming service to establish a connection with a Data Source.

- We can use either connecting mechanism, but using a DataSource object is recommended whenever possible.
 
#2
Open class DriverManager extends item. Those fundamental administration to Dealing with a set from claiming JDBC drivers. NOTE: the DataSource interface, new in the JDBC 2. 0 API, gives An alternate approach should unite with An information sourball. The utilization of a DataSource object will be those favored method for interfacing with An information sourball.
 
Top