Deepthi's profileWin with Win MobilePhotosBlogListsMore Tools Help

Blog


    16 January

    Approaches to data synchronization on windows mobile-Using Web Synchroniazation over sql server merge replicaiton

     

    In part 1 of this post, I discussed about using the Disconnected Service Agent application block for data synchronization. This entry discusses the second method, which is web synchronization using merge replication.

     

     

    Web Synchronization over Sql Server Merge Replication

     

    This approach makes use of the merge replication features provided by Sql Server 2005 and Sql Server Mobile, extending it over http using IIS.

     

     

    Some concepts related to merge replication:

    Publisher

    The Publisher is a database instance that makes data available to other locations through replication.

     

    Distributor

    The Distributor is a database instance that acts as a store for replication specific data associated with one or more Publishers. Each Publisher is associated with a single database (known as a distribution database) at the Distributor.

     

    Subscribers

    A Subscriber is a database instance that receives replicated data. A Subscriber can receive data from multiple Publishers and publications.

     

    Publication

    A publication is a collection of one or more articles from one database.

     

    Subscription

    A subscription is a request for a copy of a publication to be delivered to a Subscriber. The subscription defines what publication will be received, where, and when.

     

    Web synchronization for merge replication provides the ability to replicate data using the HTTPS protocol and is well suited to the following scenarios:

     

    • Synchronizing data from mobile users over the Internet.

     

    • Synchronizing data between Microsoft SQL Server databases across a corporate firewall.

     

     

     

    Web synchronization is designed for synchronizing data with laptops, handheld devices, and other clients. It is not intended for high volume server to server applications.

     

    To use Web synchronization for replication, you must perform the following steps.

     

    1. Configure a publication to use Web synchronization.

     

    1. Configure the Microsoft Internet Information Services (IIS) server used to synchronize subscriptions. IIS versions 5.0 and 6.0 are supported.

     

    1. Configure the publication and subscription to use Web synchronization.

     

     

    Thus we can see that we can use the web synchronization feature of Sql Server when we need to synchronize between a sql server 2005 mobile and sql server 2005. For a more platform–neutral approach, we can use the disconnected web services approach using the Disconnected Services Agent.

    Comments

    Please wait...
    Sorry, the comment you entered is too long. Please shorten it.
    You didn't enter anything. Please try again.
    Sorry, we can't add your comment right now. Please try again later.
    To add a comment, you need permission from your parent. Ask for permission
    Your parent has turned off comments.
    Sorry, we can't delete your comment right now. Please try again later.
    You've exceeded the maximum number of comments that can be left in one day. Please try again in 24 hours.
    Your account has had the ability to leave comments disabled because our systems indicate that you may be spamming other users. If you believe that your account has been disabled in error please contact Windows Live support.
    Complete the security check below to finish leaving your comment.
    The characters you type in the security check must match the characters in the picture or audio.

    To add a comment, sign in with your Windows Live ID (if you use Hotmail, Messenger, or Xbox LIVE, you have a Windows Live ID). Sign in


    Don't have a Windows Live ID? Sign up

    Trackbacks

    The trackback URL for this entry is:
    http://winwithmobility.spaces.live.com/blog/cns!A2CD686F55CB1049!138.trak
    Weblogs that reference this entry
    • None