MDM Java API - Migration Guide
SAP NetWeaver MDM exposes its capabilities through an API for the Java programming language. Taking a closer look, this API is split into two parts. One of them is called MDM4J, the other has been called so far the new MDM Java API.
MDM4J is the part of the API which has already been released with the initial shipment of SAP NetWeaver MDM 5.5. The functions offered are limited to those dealing with the repository content, such as searching for records or creating records. There are no functions available to modify the repository structure or to administrate the MDM Server.
In contrast, the new MDM Java API, which has been introduced with SP03, follows a completely different architecture. It separates connections on the network layer from logical sessions which are used to execute commands. This command-oriented approach offers a broad set of functions covering data and repository management as well as MDM Server administration.
MDM4J is deprecated with SP05, since MDM4J will be completely replaced by the new MDM Java API in the next release of SAP NetWeaver MDM.
This document compares important aspects of both APIs and thus can be used as a guideline when you rewrite your application to use the new MDM Java API instead of MDM4J. It will also be very helpful to any developers who were using MDM4J and now want to quickly understand the new concepts introduced by the new API.
As the focus is on this migration aspect, any functionality which is solely offered through the new API is not covered – such as adding tables to the repository or making use of the MDM matching capabilities.
Commands and Source Code
Names of files or folders in the file system
Names of menu items or navigation elements in programs
The example code as included in this document contains only the parts relevant for explaining the API usage. Anything else, for example constructors or import statements, is omitted.
The full sample code is provided as a compressed archive at the same location where this guide can be downloaded: http://service.sap.com/installMDM ® MDM 5.5 SP05 - Java API Migration Guide or MDM 5.5 SP05 - Java API Examples.
SDM – Software Deployment Manager
SDA – Software Deployment Archive
SCA – Software Component Archive
