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

SAP Sybase SQL Anywhere 16.0 » UltraLite - Database Management and Reference » Tutorial: Building the UltraLite CustDB sample application

 

Lesson 2: Starting the MobiLink server and performing an initial synchronization

In this lesson, you start the MobiLink server and synchronize the CustDB database with the UltraLite database using the CustDB application.

Prerequisites

This lesson assumes you have completed all preceding lessons. See Lesson 1: Building and running the CustDB application.

 Task
  1. Click Start » Programs » SQL Anywhere 16 » MobiLink » Synchronization Server Sample. Or, run the following command:

    mlsrv16 -c "DSN=SQL Anywhere 16 CustDB" -vcrs

    Use mobilink.sh on Mac OS X or Linux.

    The window displays messages about the MobiLink server's status.

  2. Click Start » Programs » SQL Anywhere 16 » UltraLite » Windows Sample Application.

  3. On the File menu, click Synchronize.

    The application synchronizes and the MobiLink server messages window displays messages showing the synchronization taking place.

    The synchronization script determines which subset of customers, products, and orders is downloaded to the application when user 50 logs in. In this case, only orders that have not yet been approved are downloaded.

  4. Confirm that the company name and a sample order appear in the application window.

Results

The CustDB application synchronizes with the consolidated database.