When come to data transfer or synchronization between the device and server, it depends on:
1. Do you want to update data to the server in real time?
2. What size of the data you won’t like to transfer?
3. The data consistency?
4. The network resources availability?
By identifying the criteria, then you able to decide what strategies to use,
· whether you want to update data from device to server frequently? [whenever there is connection, GPRS, Edge, you will sync your data to the server]
· or you can allow the user to update the data at the end of the day [which mean, you can then just let the user cradle the device and sync the data to the server].
· If the data is not that huge, you can send the data via GPRS, Edge to update server
· If the data is huge, you might want to store the data locally, either in the SQL CE or in file system, then use cradle method to update the data to the server.
Here are some of the strategies for you to store data locally on the device:
- SQL Server, having the Mobile device act as a client of it
- SQL Mobile, as a SQL database local to the device
- XML, by using documents as a form of persistent storage
- File System and/or Local Storage, for storing free-form, binary or ad-hoc file-backed data
- EDB, as a low-level, high performance local data store
Here are some of the techniques for Mobile client to access server:
- Direct Database Connectivity/Access
- Web Requests/Responses over HTTP
- Custom protocols over Sockets
- Database Synchronization/Merge Replication
- Message Queuing
- E-mail/SMS Messaging & Interception
- Custom Push Infrastructures
- Web Services
- Remote Data Access
- Merge Replication
More Resources:
- Download the Windows Mobile Line of Business Solution Accelerator 2008:
http://www.microsoft.com/downloads/details.aspx?FamilyId=428E4C3D-64AD-4A3D-85D2-E711ABC87F04&displaylang=en
http://www.microsoft.com/downloads/details.aspx?FamilyId=428E4C3D-64AD-4A3D-85D2-E711ABC87F04&displaylang=en
- How to Choose a Data Synchronization Technology – Offline & Collaboration: http://msdn2.microsoft.com/en-us/sync/cc470041.aspx





