Overview
The CM8 Compatibility API consists of Java™ libraries that mimic the IBM Content Manager Version 8 (CM8) API. These libraries act as a compatibility layer between your existing CM8 application code and the IBM® Content Cortex platform. When your application calls CM8 API methods, the compatibility layer translates those calls into equivalent Content Cortex operations.
This approach allows you to migrate CM8 applications to Content Cortex without rewriting application code, significantly reducing migration time, cost, and risk.
Supported programming models
The CM8 Compatibility API supports two CM8 programming models, each provided in a separate JAR file:
- SDK API (cm8-p8-sdk-mimic-api.jar)
- Supports applications that use the CM8 SDK programming model. This includes applications that use classes such as
DKDatastoreICM,DKDDO, andDKParts. - Beans API (cm8-p8-beans-mimic-api.jar)
- Supports applications that use the CM8 Beans programming model. This includes applications that use classes such as
CMBConnection,CMBItem, andCMBDataManagement.
You only need to include the JAR file that corresponds to the programming model your application uses. If your application uses both programming models, include both JAR files.
Requirements
To use the CM8 Compatibility API, your environment must meet the following requirements:
- Java Development Kit (JDK): JDK 8 or higher
- IBM Content Cortex: A running Content Cortex environment
- CM8 application: An existing application developed for IBM Content Manager Version 8
Integration methods
You can integrate the CM8 Compatibility API into your application using one of the following methods:
- Maven
- Add the appropriate dependency to your pom.xml file. Maven automatically downloads the JAR file and its dependencies from the configured repository.
- Gradle
- Add the appropriate dependency to your build.gradle file. Gradle automatically downloads the JAR file and its dependencies from the configured repository.
- Manual classpath configuration
- Download the JAR file and add it to your application's classpath. This method requires you to manually manage dependencies.
For detailed instructions on each integration method, see the IBM Content Cortex CM8
Compatibility API Getting Started guide that you can download from IBM Passport Advantage®
.