Starting the MobiLink server with the -sl java or -sl dnet option allows you to specify a set of directories to search for compiled files.
To start the MobiLink server (mlsrv11)
Connect to the MobiLink sample database and load your Java class or .NET assembly on the mlsrv11 command line.
For Java, run the following command:
mlsrv11 -c "dsn=SQL Anywhere 11 CustDB" -sl java(-cp c:\mlauth) |
For .NET, run the following command:
mlsrv11 -c "dsn=SQL Anywhere 11 CustDB" -sl dnet(-MLAutoLoadPath=c:\mlauth) |
The MobiLink server window appears. Now, your Java or .NET method is executed when the authenticate_user synchronization event occurs.
For more information about starting the MobiLink server for Java, see -sl java option.
For more information about starting the MobiLink server for .NET, see -sl dnet option.
Send feedback about this page via email or DocCommentXchange | Copyright © 2008, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.0 |