Contents Index Setting up Java synchronization logic Writing Java synchronization logic

MobiLink Synchronization User's Guide
  Writing Synchronization Scripts in Java

Running Java synchronization logic


If your system classpath includes your Java synchronization logic classes, you do not need to make changes to your MobiLink synchronization server command line.

You can use the -sl java option to force the Java virtual machine to load at server startup. Otherwise, the Java virtual machine is started when the first Java method is executed.

dbmlsrv9 -c "dsn=MyDataSource" -sl java ...

You also can set the classpath and pass flags to the Java virtual machine on the MobiLink synchronization server command line. The MobiLink synchronization server automatically appends the location of the MobiLink Java API classes (java\mlscript.jar) to your classpath.

dbmlsrv9 -c "dsn=MyDataSource" -sl java ( -cp c:\local\Java\myclass.jar )

For more information about the available Java options, see -sl java option.


Contents Index Setting up Java synchronization logic Writing Java synchronization logic