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

SQL Anywhere 12.0.0 (Français) » MobiLink - Getting Started » MobiLink Tutorials » Tutorial: Using Java synchronization logic


Lesson 3: Run the MobiLink server with -sl java

Running the MobiLink server with the -sl java -cp option specifies a set of directories to search for class files, and forces the Java VM to load on server startup.

 ♦  To start the MobiLink server (mlsrv12) and load Java assemblies
  • Start the MobiLink server with the -sl java option.

    Run the following command:

    mlsrv12 -c "dsn=SQL Anywhere 12 CustDB" -sl java (-cp c:\mljava)

    A message indicating that the server is ready to handle requests appears. The Java method is executed when the upload_insert event triggers during synchronization.

 Further reading