![]() |
VOOZH | about |
IBM WebSphere is a powerful application server that runs many enterprise level Java applications and services. When paired with the CData JDBC Driver for QuickBooks Online, IBM WebSphere applications can connect to QuickBooks Online and work with data using standard SQL queries instead of complex APIs. This simplifies integration, reduces development effort, and provides secure, real-time access to critical business data.
CData provides the easiest way to access and integrate live data from QuickBooks Online. Customers use CData connectivity to:
Many users access live QuickBooks Online data from preferred analytics tools like Power BI and Excel, directly from databases with federated access, and use CData solutions to easily integrate QuickBooks Online data with automated workflows for business-to-business communications.
For more information on how customers are solving problems with CData's QuickBooks Online solutions, refer to our blog: https://www.cdata.com/blog/360-view-of-your-customers.
Note: This article uses Salesforce as a demonstration data source, but the same steps can be followed to connect to any of the 250+ JDBC Drivers available in our portfolio.
Download and install the CData JDBC Driver for QuickBooks Online, which provides a .jar file: cdata.jdbc.quickbooksonline.jar
jdbc:quickbooksonline:RTK=5246...;InitiateOAuth=GETANDREFRESH;
QuickBooks Online uses the OAuth authentication standard. OAuth requires the authenticating user to log in through the browser. To authenticate using OAuth, you can use the embedded OAuthClientId, OAuthClientSecret, and CallbackURL or you can obtain your own by registering an app with Intuit. Additionally, if you want to connect to sandbox data, set UseSandbox to true.
See the Getting Started chapter of the help documentation for a guide to using OAuth.
For assistance in constructing the JDBC URL, use the connection string designer built into the QuickBooks Online JDBC Driver. Either double-click the JAR file or execute the jar file from the command-line.
java -jar cdata.jdbc.quickbooksonline.jar
Fill in the connection properties and copy the connection string to the clipboard.
π Using the built-in connection string designer to generate a JDBC URL (Salesforce is shown.)Note: If the URL property is not available, create it and then add the JDBC connection string.
Tip: Always test the connection string with the driver before entering it in the URL property. π Adding JDBC data sourceQuickBooks OnlineServletApp.war |--webcontent | |--index.jsp -- JSP page (entry point) | | | |--WEB-INF/ --Hidden from direct browser access | |--web.xml -- Deployment descriptor | | | |--classes/ --Compiled .class files | |--com/example/QuickBooks Online/ | |--QuickBooks OnlineServlet.class | |--lib/ --Dependency JARs |--cdata.jdbc.qbonline.jar
cd webcontent jar cvf ..\QuickBooks OnlineServletApp.war *
We can now view the retrieved data from the source. The data is accessible directly through IBM WebSphere. This setup demonstrates how a servlet can be deployed in WebSphere to retrieve QuickBooks Online data using the JDBC driver, creating a strong foundation for building advanced QuickBooks Online powered enterprise applications.
Start connecting QuickBooks Online to IBM WebSphere with the CData JDBC Connector today. Download the free 30-day trial and explore how easy it is to enable secure, real-time data access for your applications. As always, our world-class Support Team is available to help with any questions you may have.
Download a free trial of the QuickBooks Online Driver to get started:
Download NowLearn more:
π QuickBooks Online IconComplete read-write access to QuickBooks Online enables developers to search (Customers, Transactions, Invoices, Sales Receipts, etc.), update items, edit customers, and more, from any Java/J2EE application.