Mobile user interface for an on-premises application.

Pattern Definition
Problem | How do I add a mobile user interface to an on-premises application? | |
Context | This pattern is applicable when there is a desire to add a mobile user interface to an on-premises application. The mobile backend is Cloud-based. | |
Forces |
| |
Solution | This mobility pattern employs a Mobile Platform only in the Cloud with connectivity to the on-premises application. This provides the quickest way to create a mobile user interface for an on-premises application. | |
Consequences | Pros:
|
Interaction View
Direct Connect
Mobile user interface with mobile backend connecting directly to the on-premises application.

Interaction
Interaction initiated by mobile device:
- The mobile device uses the Mobile platform Client SDK to call the mobile backend provided by the Mobile platform.
- The Mobile platform calls the on-premises application.
Interaction initiated by on-premises application:
- The on-premises application calls the Mobile platform to send a notification to a mobile device.
- The Mobile platform routes the notification to the appropriate mobile devices.
Notes
- The on-premises application must provide an interface that is readily accessible from the Mobile platform (e.g. REST).
- To send a notification, the on-premises application must call the REST API on the Mobile platform
Application Integration Platform
Mobile user interface with mobile backend connecting to the on-premises application via the Application Integration Platform

Interaction
Interaction initiated by mobile device:
- The mobile device uses the Mobile platform Client SDK to call the mobile backend provided by the Mobile platform.
- The Mobile Platform calls the Application Integration Platform.
- The Application Integration Platform calls the on-premises Integration Agent.
- The Integration Agent uses an adapter to access the on-premises application.
Interaction initiated by on-premises application:
- The on-premises application calls the Application Integration Platform to send a notification to a device.
- The Application Integration Platform calls the Mobile Platform to send a notification to a mobile device.
- The Mobile Platform routes the notification to the appropriate mobile devices.
Notes
- The Integration Agent provides secure communication between on premises and Public Cloud. The Integration Agent establishes an encrypted connection to the Application Integration Platform by calling into the Application Integration Platform. There is no need to “punch a hole” in the on-premises firewall.
- The Application Integration platform provides pre-built adapters to many on-premises applications. Custom adapters can also be created if needed.
- The Integration Agent may initiate a communication with the Application Integration platform if the database or file adapter is used on premises.