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

SQL Anywhere 12.0.1 » UltraLite - Java Programming » UltraLiteJ application development » Code examples


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 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:

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

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

 See also