Skip to main content


developerWorks  >  Information Management  >

Develop a .NET Compact Framework app with DB2e Sync Client

developerWorks

Level: Intermediate

Ronald Leung (rcleung@us.ibm.com), Developer, IBM

11 Nov 2004

Register now or sign in using your IBM ID and password.

The DB2® Everyplace Sync Client API allows you to develop applications to handle bi-directional synchronization of relational data between a DB2 Everyplace Server and your hand-held device. The Sync Client API supports a wide variety of platforms including Palm, Pocket PC, Windows®, Linux®, and more. It also supports many programming languages including C/C++, Java™, and Microsoft® Visual Studio .NET.

This tutorial is provided as a guide for developers who are new to the DB2 Everyplace Sync Client API and would like to build applications using this API. In this tutorial, we build a sample application and show you all the necessary steps to set up the build environment and explain the code used in this sample. The application will be written in C# .NET and the target platform is Pocket PC, but the concept covered here will be helpful in developing with other platforms or languages as well.

In this tutorial, we will develop an application called VNurse Client. DB2 Everyplace provides an elegant solution in many scenarios where mobile workers need to access or modify information when they are not in the office. This sample is built upon the idea of a visiting nurse. One of the main responsibilities for our nurse is to visit patients and take their measurements, such as pulse rate or blood pressure, during her day. Instead of writing all the results on paper and re-entering all the data into the computer at the end of the day, she would carry a Pocket PC device. For each patient that she visits, she will take various measurements and record them using her mobile device, and when she gets back to her office she can synchronize all her data to the backend database with the click of a button.

Prerequisites

None.


System requirements

You will need to have the following installed and configured. Please note that the following items must be installed in the order shown.

  1. Visual Studio .NET 2003
  2. Pocket PC SDK 2003
  3. DB2 Everyplace Sync Server, Version 8.2, Beta 2 or later



Duration

2 hours


Formats

html, pdf


Share this....

digg Digg this story del.icio.us del.icio.us Slashdot Slashdot it!


Back to top


Document options

Document options requiring JavaScript are not displayed