+

Search Tips | Advanced Search

For up-to-date product documentation, see the IBM MobileFirst Foundation Developer Center.


Java server-side API

Javaâ„¢ adapters can use the IBM MobileFirstâ„¢ Platform Server Java API to perform server-related operations such as: calling other adapters, getting values of configuration properties, reporting activities to IBM MobileFirst Analytics, and getting the identity of the request issuer.

The Java API has four interfaces, corresponding to four categories: authentication, adapters, configuration, and analytics:

To access an interface, use the @ annotation. For example, to access the AdaptersAPI interface, write:

Examples of the use of the API are provided in the following sections.


Implementing connectivity in Java adapters

Unlike JavaScript adapters, Java adapters are not provided with built-in connectivity. We can implement connectivity by using custom properties in the adapter descriptor file. For more information, see Configure adapters. The Java Adapters tutorial on the Developer Center website demonstrates this feature.

Parent topic: Develop Java adapter code