Establishing a Connection
Creating a JDBC Data Source
You can create a JDBC data source to connect from your Java application, based on CData JDBC Driver for Reckon.Follow these steps:
- Add the driver JAR file to the classpath. The JAR file is located in the installation directory's lib subfolder. Ensure that the .lic file is located in the same folder as the JAR file.
- Provide the driver class. For example:
cdata.jdbc.reckon.ReckonDriver
- Provide the JDBC URL. For example:
jdbc:reckon:User=test;Password=test;URL=http://localhost:8166;
Or, if there is a conflict in your application between drivers using the same URL format, use this form to ensure that you are using the CData driver:
jdbc:cdata:reckon:User=test;Password=test;URL=http://localhost:8166;
Ensure that the URL starts with either jdbc:reckon: or jdbc:cdata:reckon:. The URL can include any of the connection properties in name-value pairs separated with semicolons.
Connecting to Reckon
The driver makes requests to Reckon through the CData QuickBooks Desktop Gateway. It runs on the same machine as Reckon and accepts connections through a lightweight, embedded Web server. The server supports SSL/TLS, enabling users to connect securely from remote machines. The first time you connect, you will need to authorize the driver with Reckon. For more information, refer to our Using the QuickBooks Gateway guide.