Using Resource Adapters
- Last Updated: May 15, 2023
- 1 minute read
The drivers for DB2, MySQL, and Sybase include J2EE Connector Architecture resource adapters. When you brand any of these drivers, a branded resource archive file (rar) is created. This branded rar file contains a branded version of the driver. The branded rar file uses the branded version of the driver to connect to the database.
To use the branded driver packaged in the rar file, the application must unlock the branded driver in the same manner an application unlocks a branded driver directly. The connection returned by the resource adapter must be cast to an ExtEmbeddedConnection object. Then, the application must call the unlock() method and pass the password specified during the driver branding process as described in Enabling an Application to Unlock a Branded Driver.