After the driver has been installed and defined on your class path, you can connect from your application to your data 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).