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

SQL Anywhere 12.0.0 » UltraLiteJ » Using UltraLiteJ » Developing UltraLiteJ applications » Synchronizing with MobiLink


Using UltraLiteJ as a MobiLink client

To synchronize data, your application must perform the following steps:

  1. Instantiate a syncParms object, which contains information about the consolidated database (name of the server, port number), name of the database to be synchronized, and the definition of the tables to be synchronized.

  2. Call the synchronize method from the connection object with the syncParms object to carry out the synchronization.

The data to be synchronized can be defined at the table level. You cannot configure synchronization for portions of a table.

 See also

To start the MobiLink server with CustDB as the consolidated database, run start_ml.bat from the samples-dir\UltraLiteJ directory.