Starting the MobiLink server with the -sl 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 mlsrv12 command line.
Replace c:\MLauth with the location of your source files.
For Java, run the following command:
mlsrv12 -c "dsn=SQL Anywhere 12 CustDB" -o serverOut.txt -v+ -sl java(-cp c:\MLauth) |
For .NET, run the following command:
mlsrv12 -c "dsn=SQL Anywhere 12 CustDB" -o serverOut.txt -v+ -sl dnet(-MLAutoLoadPath=c:\MLauth) |
The MobiLinkAuth method is executed when the authenticate_user synchronization event occurs.
Discuss this page in DocCommentXchange.
|
Copyright © 2010, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.0 |