skip to main content
Getting started : Connecting from an application
 

Try DataDirect Cloud Now

Connecting from an application

You can use DataDirect Cloud to provide access to cloud data stores for packaged applications and custom applications. Packaged applications define their own way of specifying a JDBC connection. However, the JDBC URL for packaged applications will be identical to the URL you would use in a custom application.
Once the DataDirect Cloud Driver for JDBC is installed and configured, you can connect from a custom application to a DataDirect Cloud Data Source in either of the following ways:
*Using the JDBC Driver Manager, by specifying the connection URL in the DriverManager.getConnection() method. See Connecting Using the JDBC Driver Manager for more information.
*Creating a JDBC data source that can be accessed through the Java Naming Directory Interface (JNDI). See Connecting using JDBC Data Sources for sample code that you can use as a template for creating and using your own JDBC data sources.
The following topics describe how to connect to cloud data stores using JDBC.
* JDBC URL
* Connecting Using the JDBC Driver Manager
* Connecting using JDBC Data Sources