Database Code
  Home arrow Database Code arrow Page 4 - MobiLink Synchronization Wizard in SQL Any...
ASP Free Forums 
.NET  
ASP  
ASP Code  
ASP.NET  
ASP.NET Code  
BrainDump  
C#  
Code Examples  
Database  
Database Code  
IIS  
Microsoft Access  
MS SQL Server  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
ASP Web Hosting  
ASP.NET Web Hosting 
Dedicated Servers 
Actuate Whitepapers 
Moblin 
Windows Web Hosting
 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
DATABASE CODE

MobiLink Synchronization Wizard in SQL Anywhere 10
By: Jayaram Krishnaswamy
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 6
    2006-12-13

    Table of Contents:
  • MobiLink Synchronization Wizard in SQL Anywhere 10
  • Creating the data source for the MobiLink synchronization setup
  • MobiLink Synchronization Wizard
  • Data Source for the consolidated database schema
  • Choosing download options
  • Specifying names for Publication and Script version
  • Fine tuning the model using the Sybase Central Management Interface
  • Summary

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT

    Free Web 2.0 Code Generator! Generate data entry and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!

    MobiLink Synchronization Wizard in SQL Anywhere 10 - Data Source for the consolidated database schema


    (Page 4 of 8 )

    You can choose as the data source a database from a number of vendors --Microsoft SQL Server, Oracle, IBM DB2 UDB, SQL Anywhere, and Sybase Adaptive Server Enterprise. For this evaluation the MS SQL Server 2005 on the Windows platform (Windows XP Professional Media Center Edition) will be used. For each of the databases, database-specific scripts add the MobiLink system set up objects needed during deployment (see "objects added in this set up" in Appendix 2 copied from the MS SQL2005 Server Management Studio after the model was created).

    Click on the Choose a consolidated database... button to connect to the consolidated database. The "Connect To Consolidated Database" window pops up; in it, you need to provide UserID, Password and the ODBC Source name. When you complete the sub-tasks (completing the authentication process) the consolidated database will finally be chosen and the details shown under the button in the above screen will be filled up.

    If this is the first time the DSN was created you may click on the Browse… button which opens showing a list of all user DSNs on the machine as shown in the next picture.

    When you click on the OK button, the Dev10 DSN will be available to the authentication window shown earlier. Finally when you click on the OK button  with all three items entered, the following window opens.

    When you click on the Yes button, the Mobilink message screen shows up, followed by the information about your consolidated database schema updating your earlier screen as shown below. The ownership is shown as that of "dbo" since the credentials entered were those of the dbo. A specific user was not configured for the DSN.

    Creating the Remote Database Schema

    When you click on the Next button on the above window you will be taken to the next window shown where you can create the schema for the remote database. Since the schema for the remote database has not been created yet, the first option, No, create a new remote database schema is chosen. MobiLink has the ability to create a new UltraLite, or SQL Anywhere database based on an existing consolidated database schema. You may also access an existing remote database instead of creating a completely new remote database schema. Click on the Next button.

    This opens up the screen shown in the next picture where you need to identify the objects that need to be included in the schema of the remote database. The objects from the MS SQL 2005 Server database show up in this window. The Customers table which was shown earlier in the MS SQL 2005 Server database 'Test10' is the only table object showing here. It is also possible to have a larger number of tables but for this initial documentation a single table was chosen. The schema for this consolidated database object will be used for the remote database schema definition. By placing a check mark against the table(s), you will be choosing those table(s) for synchronization. Click on the Next button.

    Type of download during synchronization

    During the synchronization process, all changes to the remote database are uploaded to the consolidated database, and all changes to the consolidated database are then downloaded to the remote database. The changes to the remote database can be determined by examining its transaction log. However, the MobiLink server is not able to access the transaction log of the consolidated database. Hence the data to download from the consolidated database must be determined using a timestamp, custom logic, or by simply downloading the entire dataset. The default, Timestamp-based download is chosen for this evaluation. This option can be changed later, if so desired.

    More Database Code Articles
    More By Jayaram Krishnaswamy


       · Mobile device management is expected to grow very fast in the coming years and...
     

    DATABASE CODE ARTICLES

    - Deployment of the MobiLink Synchronization M...
    - MobiLink Synchronization Wizard in SQL Anywh...
    - Finding Matching Records in Data Access Pages
    - Using the AccessDataSource Control in VS 2005
    - A Closer Look at ADO.NET: The Command Object
    - A Closer Look at ADO.NET: The Connection Obj...
    - Using ADO to Communicate with the Database, ...
    - Code Snippets: Counting Records
    - Constraints In Microsoft SQL Server 2000
    - Multilingual entries into a DB and to be dis...
    - Getting A List of Tables From SQL Server
    - SQL Server Database Creator - .NET Version
    - ADO Recordset Paging
    - Two combos, one textbox example
    - Discussion & Listserv Module by Mike Eck...





    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway