From competition to product differentiation, from security to performance and scalability, independent software vendors (ISVs) face multiple challenges in today's marketplace. Data access and integration is an additional challenge that can draw resources away from core business and development objectives. However, by embedding and distributing JDBC or ODBC drivers into your application, data access and integration can be transformed into a strength. Progress DataDirect drivers provide fast, reliable and secure access to industry-leading relational, big data, NoSQL and cloud data sources. In addition, Progress DataDirect JDBC and ODBC drivers are easy to integrate into your application's data access layer as closed, password-protected components. In this tutorial, we'll begin by discussing the advantages of distributing drivers. Then we'll outline what's involved with distributing DataDirect drivers. We will then describe the steps required to integrate and distribute JDBC and ODBC drivers with your software application.
Progress DataDirect offers connectivity to industry-leading data sources, such as SQL Server, Oracle, and Salesforce. To view the full breadth of our connectors, click CONNECTORS.
By uniquely naming files and locking the drivers, you prevent driver conflicts that can occur when customers install your application alongside other software. This means that the drivers and configurations you tested are the same ones your customers are using, guaranteeing that your application performs exactly as you designed.
In addition to ensuring your application is using the correct driver, locking the drivers also prohibits unauthorized applications from accessing your drivers. Using closed, password-protected drivers assures that other applications are not taking advantage of your driver's performance or competing with your application for connectivity resources.
Distributing the drivers allows you to transparently integrate the drivers with your application. In addition to installing the drivers with your application, you are able to determine file name prefixes, and customize error messages, transforming the drivers into a seamless extension of your application.
With Progress's comprehensive technical support services, you will no longer need to chase multiple vendors to resolve connectivity issues. Our award-winning support team is available 24 hours a day to diagnose your connectivity problem and provide solutions, regardless of the cause.
Installing the drivers with your application provides your customers with the high-performance connectivity, advanced features, security, and reliability that Progress DataDirect offers.
Embedding DataDirect drivers simplifies your users’ experience with your product. By distributing the drivers with your application, you eliminate the need for customers to research, license, and install their own drivers. This allows your customers to use the best version of your application right out of the box.
Distributing the drivers is a three-part process that consists of branding the drivers, installing them with your application's installer program, and enabling your application to unlock the drivers:
Branding consists of renaming the driver and license files, and, most importantly, creating locked drivers that can only be used by your product. The DataDirect installation program makes this easy by guiding you through the entire branding process.
Installing the drivers with your installation program requires modifying your product installer to load the branded driver files and, for ODBC drivers, adding the necessary entries to the system information files and environment variables.
Your application implements a special set of calls to unlock the drivers when connecting to your data source.
Branding the standard commercial Progress DataDirect drivers allows you to distribute the drivers with your application as closed, password-protected drivers.
Branding renames the driver and license files and encodes them with a prefix of your choosing. The prefix you enter replaces default characters. For example, if you enter gg as the prefix for the 64-bit ODBC driver for Oracle, the default file name of ddora28.dll becomes ggora28.dll.
The installation program (or script, for UNIX/Linux) for Progress DataDirect drivers enables you to install and brand from downloaded files or a network directory. Using the installation program is a quick and efficient way to brand your drivers.
The examples used in this tutorial correspond to the GUI version of the installer. In addition, the installation program can be used to create a response file for a silent installation when upgrading to a new version of the product.
Note: The OEM Partners section of the Progress DataDirect Web site is password-protected. As part of your OEM agreement, Progress DataDirect provides you with the appropriate location and passwords for the site.
Once you have the product package, the Control Number, a registered password, and a registered prefix, you are ready to begin the branding process.
To brand your Progress DataDirect for JDBC drivers, take the following steps:
com.ddtek.jdbc.mongodb.MongoDBDriver
becomes:
com.xyzcompany.xyzdivision.jdbc.mongodb.MongoDBDriver
jdbc:datadirect:mongodb://server1:27017
becomes:
jdbc:xyzcompany:mongodb://server1:27017
After branding, driver error messages are displayed with this prefix. For example, if xyzcompany is your message prefix, the driver error message:
[DataDirect][MongoDB JDBC Driver] Object has been closed
becomes:
[xyzcompany][MongoDB JDBC Driver] Object has been closed
Results:
See Branding Results (JDBC Drivers) for a summary of the results produced by this branding process.
Depending on the type of driver, branding produces the following results.
ODBC Drivers
JDBC Drivers
This section describes the general tasks for creating an installation program. OEM partners are provided with platform-specific instructions.
To load the driver files, create an installation program that:
Before your installation program copies a file to a client machine, ensure that it:
Progress DataDirect drivers can be unlocked only by applications that supply the case-sensitive password that was locked into the driver when it was branded. The method used to unlock drivers differs based on application API, as summarized here.
ODBC Applications
Branded drivers work with ODBC-enabled applications that pass the password to the driver after establishing a connection. ODBC-enabled applications may be developed using tools such as:
Ideally, the driver is unlocked by making additional ODBC API calls; however, if you do not have access to the source code or use a development tool that hides the ODBC interface (Visual Basic, OLEDB), this may not be possible. In these scenarios, there are some alternative methods available to communicate the password to the driver. When appropriate, OEM partners are provided with detailed explanations and code examples to assist in this process.
JDBC Applications
To unlock a branded driver, wrap the JDBC Connection object in a special class and call the unlock method on that connection. The unlock method takes the password that was specified during the branding process as an input argument. If your application is unable to unlock the driver using Java code methods, other options are available in certain scenarios.
Progress DataDirect offers connectivity to industry-leading data sources, such as SQL Server, Oracle, and Salesforce. To view the full breadth of our connectors, click CONNECTORS.
For more information about Progress products or becoming an OEM Partner, contact a Progress DataDirect representative.
Progress DataDirect is the worldwide leader in data connectivity supporting over 350 ISVs across 10,000 organizations. Read more about how Progress DataDirect helps ISVs with data connectivity solutions on our ISV Solutions page.
For current OEM Partners, refer to the JDBC and ODBC Progress DataDirect drivers distribution guides for detailed instructions on installing, branding, unlocking, and distributing your branded drivers.