Contents Index Upload-only and download-only synchronization Security

MobiLink Synchronization User's Guide
  Synchronization Basics

Options for writing synchronization logic


MobiLink synchronization scripts can be written in SQL, in Java, or in .NET programming languages. Java or .NET are a good choice whenever your design is restricted by the limitations of the SQL language or by the capabilities of your database-management system, of if you want DBMS-independent synchronization logic.

Program synchronization logic can function just as SQL logic functions, as shown in the figure below. The MobiLink synchronization server can make calls to Java or .NET methods on the occurrence of MobiLink events just as it can access SQL scripts on the occurrence of MobiLink events. However, the upload and download streams are not directly accessible from Java or .NET synchronization logic, where a SQL string must be returned to MobiLink.

Java synchronization logic architecture.

SQL synchronization logic is restricted to the procedural language capabilities of your consolidated database. SQL languages are unlikely to offer all the programming logic given by Java or .NET programming languages. You might want to use Java or .NET synchronization logic when your SQL logic is limited, when you need to perform operations across database platforms, and when you need portability across RDBMSs and operating systems. Following are some scenarios where you might want to consider writing scripts in Java or .NET.

Using Java synchronization logic to access other data sources.
MobiLink APIs 

With Java and .NET synchronization logic, you have access to a MobiLink API. The MobiLink APIs are sets of classes and interfaces for MobiLink synchronization. There are two MobiLink APIs: Java and .NET.

The MobiLink Java API offers you:

For more information, see MobiLink Java API Reference.

The MobiLink .NET API offers you:

For more information, see MobiLink .NET API Reference.

Further reading 

For more information about your options for writing synchronization scripts, see


Contents Index Upload-only and download-only synchronization Security