Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.0 » UltraLite - M-Business Anywhere Programming » Understanding UltraLite for M-Business Anywhere development » Synchronizing data

 

Synchronizing data via M-Business Anywhere

Whether you use one-button synchronization or separate data synchronization, you can use a MobiLink Redirector to configure your M-Business Anywhere server to route data to and from a MobiLink server. For synchronization from outside the firewall, this reduces the number of ports that need to be externally accessible.

The following diagram illustrates the architecture for the case of one-button synchronization.

Architecture for data synchronization via M-Business Anywhere, using a MobiLink Redirector.

To synchronize data via M-Business Anywhere

  1. At the server side, set up a MobiLink Redirector to route data between M-Business Anywhere and your MobiLink server. See M-Business Anywhere Redirector (deprecated).

  2. In your client, set synchronization parameters so that UltraLite synchronization is directed to the host and port number of M-Business Anywhere. You can use the SyncParms.setMBAServer method to carry out this task. See setMBAServer method.

  3. From a client application, initiate synchronization using either one-button synchronization or separate data synchronization. See: