skip to main content
Quick Start: Accessing REST data sources using HTTP header authentication : Connecting to a DataSource
  

Try DataDirect Drivers Now

Connecting to a DataSource

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 DriverManager, 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).
* Connecting using the DriverManager
* Connecting using data sources