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.
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) |
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.
Discuss this page in DocCommentXchange. Send feedback about this page using email. |
Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1 |