OData SDK Components and APIs

The OData SDK for BlackBerry provides the means to easily build an application which relies on the OData protocol and its additions made by SAP.

Prerequisites

Download the Eclipse IDE and the BlackBerry java plug-in for Eclipse to be able to develop on BlackBerry platform.

OData SDK - BlackBerry

The full list of APIs and their descriptions are available after the installation of Sybase Unwired Platform at the following location within your installation folder: ...\UnwiredPlatform\MobileSDK\OData\BlackBerry\docs.

The following figure shows the main components of the OData SDK on BlackBerry.



SDMCommon

To build an application on the OData SDK, you must first import the SDMCommon component that contains interfaces and configuration for the components. None of the components have dependency on each other, but all of them depend on the SDMCommon component, and all of them have references to interfaces of other components (held by SDMCommon).

Component Replacements

In your own application, you can replace the implementation behind an interface of a BlackBerry OData SDK component. For example, if you want to add a new functionality to SDMCache, but keep everything else unchanged (for example, the way it is persisted by SDMPersistence) you can implement your own solution. The new cache can be either a new implementation, or a descendant of SDMCache, as long as it implements the ISDMCache interface from SDMCommon.