What is JDBC Driver Manager ?

Discussion in 'JDBC' started by vbraojava, Nov 3, 2008.

  1. vbraojava

    vbraojava New Member

    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. anneroberts

    anneroberts Member

    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.
     

Share This Page