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 - Java Programming » UltraLiteJ application development » Code examples


Java SE example: Synchronizing a database

Run the Java SE sample that connects to a MobiLink server to understand how to synchronize a client database with a consolidated SQL Anywhere database.


There are no prerequisites for this task.

  1. Change to the following directory: %SQLANYSAMP16%\UltraLiteJ\J2SE.

  2. Run the CreateSales example:

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

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

    rundemo Sync


The sample application runs successfully. The client database synchronizes data with the consolidated database.


Shut down the MobiLink server.

 See also