Java SE example: Synchronizing a database

This example demonstrates connecting to a MobiLink server to synchronize the client database with a consolidated (in this case, SQL Anywhere) database.

 Run the Sync.java example
  1. Change to the following directory: %SQLANYSAMP12%\UltraLiteJ\J2SE.

  2. Run the CreateSales example:

    rundemo CreateSales
  3. Run the following command to start the MobiLink server:

    start_ml
  4. Run the following command (the command is case sensitive):

    rundemo Sync
  5. Once the example completes, shut down the MobiLink server.

 See also