skip to main content
About the Driver : Using the Driver : Connecting from an Application
  

Connecting from an Application

Once the driver is installed and configured, you can connect from your application to your database in either of the following ways:
*Using the JDBC Driver Manager, by specifying the connection URL in the DriverManager.getConnection() method.
*Creating a JDBC data source that can be accessed through the Java Naming Directory Interface (JNDI).
In this section: 
* Connecting Using the JDBC Driver Manager
* Connecting Using Data Sources
* Testing the Connection