MobiLink synchronization scripts can be written in SQL, Java, or .NET. You can use Java or .NET to add custom actions at any point of a synchronization.
In this tutorial, you add a Java or .NET method for the authenticate_user connection event. The authenticate_user event allows you to specify a custom authentication scheme and override the MobiLink built-in client authentication.
SQL Anywhere 11
Java Software Development Kit
You require:
familiarity with Java
basic knowledge of MobiLink event scripts
You gain competence and familiarity with:
MobiLink custom authentication
This section uses the following steps to implement basic Java-based synchronization using the MobiLink CustDB sample database:
compiling a source file with MobiLink server API references
specifying class methods for particular table-level events
running the MobiLink server (mlsrv11) with the -sl java option
testing synchronization with a sample Windows client application
For more information about authenticating MobiLink clients, see Choosing a user authentication mechanism.
For more information about integrating POP3, IMAP, or LDAP authentication, see Authenticating to external servers.
For more information about .NET or Java synchronization scripts, see Writing synchronization scripts in .NET or Writing synchronization scripts in Java.
Discuss this page in DocCommentXchange. Send feedback about this page using email. |
Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1 |