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 mlsrv10 command line.
For Java, type the following at a command prompt:
mlsrv10 -c "dsn=SQL Anywhere 10 CustDB" -sl java(-cp c:\mlauth)
For .NET, type the following at a command prompt:
mlsrv10 -c "dsn=SQL Anywhere 10 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.