Skip to main content

By clicking Submit, you agree to the developerWorks terms of use.

The first time you sign into developerWorks, a profile is created for you. Select information in your developerWorks profile is displayed to the public, but you may edit the information at any time. Your first name, last name (unless you choose to hide them), and display name will accompany the content that you post.

All information submitted is secure.

  • Close [x]

The first time you sign in to developerWorks, a profile is created for you, so you need to choose a display name. Your display name accompanies the content you post on developerworks.

Please choose a display name between 3-31 characters. Your display name must be unique in the developerWorks community and should not be your email address for privacy reasons.

By clicking Submit, you agree to the developerWorks terms of use.

All information submitted is secure.

  • Close [x]

IBM DB2 Everyplace Wireless Data Synchronization with Nokia 92xx Communicators

Walter Mayer (wamayer@de.ibm.com), EMEA Business Partner Technical Enablement Team, IBM, Software Group
Author photo
Walter Mayer has worked several years in the software development and customer services area as a technical consultant for Enterprise Information Portal and Text Mining. Beginning in March 2001, he has worked as a DB2 consultant and DB2 Everyplace project leader in EMEA. He guided the development of a DB2 Everyplace workshop which he taught several times in various locations throughout EMEA. In past years he developed presentations and papers on different areas. In 2004 he became a member of the EMEA CM Business Partner Technical Enablement Team and he teaches CM certification workshops in different IBM EMEA Innovation Centers. He has been involved in a number of ISV and customer projects throughout EMEA.

Summary:  Learn how to enable your mobile workforce to use their Nokia 92xx communicators with DB2 Everyplace Synchronization Server to access and update data while they are on the road.

Date:  11 Feb 2003
Level:  Introductory

Activity:  3058 views
Comments:  

Introduction

Without a doubt, mobility is key to success in today's business world. And yet, for mobile devices such as smart phones to perform the services we expect of them, they frequently must have access to data which may be stored elsewhere. Using integrated cellular phones such as Nokia Communicators we might want to perform such on-demand services as ordering movie tickets, responding to special offers, buying insurance, negotiating contracts, buying merchandise, even setting up appointments with the dentist or car repair shop. IBM DB2® EveryplaceTM, the DB2 solution for mobile devices with the most database features per footprint of any database on the market, gives users the ability to access local data, to synchronize local data with databases elsewhere, perform real-time requests, or call stored procedures.

If you've read some of the earlier DB2 Everyplace articles published on the DB2 Developer Domain, you may already know a great deal about creating a mobile DB2 Everyplace application, setting up a mobile project, and synchronizing with the DB2 Everyplace Synchronization Server. So are you ready now to get it going on your mobile device? In this article, we'll take you through the next step of actually setting up a Nokia 92xx Communicator to work with the DB2 Everyplace Synchronization Server.

We will cover the following activities:


Telephone connection to PC setup

In order to explain how to set up a PC for the telephone connection, I'll use an example describing the setup of on a ThinkPad® with Windows® 2000 and an installed phone modem such as 3Com or Lucent Win Modem. The prerequisites for this setup are:

  • Telephone wall jack with fixed telephone number
  • Modem cable with connection between phone box and Thinkpad

Here are the steps you'll need to follow:

  • First, check to see if your modem is active by clicking the following sequence: Start -> Settings -> Control Panel -> System -> Hardware -> Device Manager -> Modems -> e.g "Lucent Win Modem" -> Select Properties -> Check General -> Check Modem Page.
  • At the General page check to see if the modem is working properly and active.
  • Also, on the Modem page, check to see if the modem is using an existing free port. The Maximum Port Speed of 115200 Baud should be selected.
  • Then open the Network and Dial-up Connections list. You will see all existing connections. Select and open the task Make New Connection, as shown in Figure 1

.


Figure 1. Network and dial-up connections
Figure 1
  • On the upcoming Network Connection Wizard, click the Next button.
  • Click Accept incoming connections.
  • In the next window, select your modem. For our example we used the Lucent Win Modem.
  • On the Incoming Virtual Private Connection page accept the default settings. Virtual private connections should not be checked by default.
  • In the next dialog, specify the users whom you want to have the right to dial in to your Synchronization Server PC.
  • You can see in the next window all network components which are installed on your PC, as shown in Figure 2.

Figure 2. Network components
Figure 2
  • Set the properties of the TCPIP protocol by highlighting the Internet Protocol (TCPIP) in the Networking components list and clicking the Properties button.
  • Give the dial-in users access to the local network by enabling the check box Allow callers to access my local area network. To specifically grant applications access to your server, set the following TCPIP addresses as shown in Figure 3. The first address (10.10.10.240) is the server/PC address. The second address (10.10.10.241) specifies the client address which dial in users will get when connected to the PC.

Figure 3. Incoming TCP/IP properties
Figure 3

To support concurrent clients dial-in you need for example an active ISDN controller such as AVM C2 or C4. Or, build up a configuration with an access point such as LinkSys WAP11 access point, which can support many clients and can bridge to a remote DB2 Everyplace server over a wired network.

  • Finally, click OK and then the Finish button to create and to activate the dial-up connection.

Setting up the synchronization objects

Before you can start a wireless data synchronization with DB2 Everyplace, you need to specify the synchronization objects with the DB2 Everyplace Mobile Device Administration Center (MDAC) tool. With the Mobile Device Administration Center, you can specify which users can view or manipulate which table records on their mobile devices. The following objects can be defined with the MDAC tool, as shown in Figure 4:

  • Users: Client devices that need to synchronize data with an enterprise server. The user employs a mobile device capable of communicating with the DB2 Everyplace Sync Server to replicate data to and from an enterprise system.
  • Groups: Collections of uniquely named users, or users that have similar data synchronization requirements.
  • Subscription: The definition of data, files or other information that is to be transferred to and from the clients. A subscription provides specifications for how the information in a source system (an enterprise server) is to be synchronized with a target system (the mobile device).
  • Subscription Sets: Collections of subscriptions.
  • Server: An instance of DB2 Everyplace Synchronization Server that runs on a host and listens to a port. It synchronizes data between targets and mirror databases.

Figure 4. MDAC objects
Figure 4

DB2 Everyplace also provides tools which simplify the creation and manipulation of synchronization objects, using XML script files. If you have a large number of users, it would be time-consuming to perform this task in the Mobile Devices Administration Center. With the XML Scripting tools you can add many users to a group at once. You can also use the XML Scripting tools for easy duplication or movement of data from one server to several other servers.


Nokia Communicator setup

The final step is to set up the mobile device. To set up the Communicator, create a new Internet access object by selecting Internet->Options->Tools->Internet access->Select->New, and specify:

  • A connection name, such as mySyncConnect
  • The telephone wall jack fixed phone number where your Synchronization Server is connected
  • A username, one of the users selected during the "Incoming connections" PC setup and created with MDAC as a Users object.

Figure 5. Creating a new Internet access object
Figure 5

On the Advanced settings panel, select for example:
Proxy: no -> Connection call: Normal, Analog, Automatic -> Ringback:No -> Permit text: yes, PPP-compression:yes -> Done -> Done -> Stay Online e.g . 2 minutes, query back to connection: yes -> Done.

In the DB2 Everyplace Isync application, or in your created MAB application, specify in the SyncPref Dialog your username and password as specified with MDAC, the server TCP/IP address, 10.10.10.240, and the SyncServer Servlet port number, 8080, as shown in Figure 6.


Figure 6. SyncPref dialog
Figure 6

Start the SyncServer servlet on your Synchronization Server: Start -> Programs-> DB2 Everyplace -> Start Servlet for SyncServer.

Now run your DB2 Everyplace application or the DB2 Everyplace Isync sample application on your Nokia 92xx Communicator to synchronize the data with the server.

After synchronization is started on your device, click the following sequence to watch the incoming connections on the mid-tier server: Open Windows Explorer -> Network and Dial Up Connections.


Figure 7. Dial-up connections on mid-tier server
Figure 7

Summary

We've talked about how to set up DB2 Everyplace data synchronization between a Nokia 92xx Communicator cell phone and a DB2 Everyplace Synchronization Server. After users synchronize data with the server, they can view the data in off-line mode, with high performance, because the data is now local. For more details about DB2 Everyplace and how to set up a mobile project with DB2 Everyplace, read my earlier article,How to Set Up and Execute a Mobile Project with DB2 Everyplace."

Using these instructions, you can synchronize your Nokia Communicator mobile DB2 Everyplace application data records, wherever and whenever required, over a wireless GSM phone connection. Whether you need to access complex binary data, order movie tickets, or just conduct your business, this technology can indeed be used take your DB2 data everyplace.


About the author

Author photo

Walter Mayer has worked several years in the software development and customer services area as a technical consultant for Enterprise Information Portal and Text Mining. Beginning in March 2001, he has worked as a DB2 consultant and DB2 Everyplace project leader in EMEA. He guided the development of a DB2 Everyplace workshop which he taught several times in various locations throughout EMEA. In past years he developed presentations and papers on different areas. In 2004 he became a member of the EMEA CM Business Partner Technical Enablement Team and he teaches CM certification workshops in different IBM EMEA Innovation Centers. He has been involved in a number of ISV and customer projects throughout EMEA.

Report abuse help

Report abuse

Thank you. This entry has been flagged for moderator attention.


Report abuse help

Report abuse

Report abuse submission failed. Please try again later.


developerWorks: Sign in


Need an IBM ID?
Forgot your IBM ID?


Forgot your password?
Change your password

By clicking Submit, you agree to the developerWorks terms of use.

 


The first time you sign into developerWorks, a profile is created for you. Select information in your developerWorks profile is displayed to the public, but you may edit the information at any time. Your first name, last name (unless you choose to hide them), and display name will accompany the content that you post.

Choose your display name

The first time you sign in to developerWorks, a profile is created for you, so you need to choose a display name. Your display name accompanies the content you post on developerWorks.

Please choose a display name between 3-31 characters. Your display name must be unique in the developerWorks community and should not be your email address for privacy reasons.

(Must be between 3 – 31 characters.)

By clicking Submit, you agree to the developerWorks terms of use.

 


Rate this article

Comments

Help: Update or add to My dW interests

What's this?

This little timesaver lets you update your My developerWorks profile with just one click! The general subject of this content (AIX and UNIX, Information Management, Lotus, Rational, Tivoli, WebSphere, Java, Linux, Open source, SOA and Web services, Web development, or XML) will be added to the interests section of your profile, if it's not there already. You only need to be logged in to My developerWorks.

And what's the point of adding your interests to your profile? That's how you find other users with the same interests as yours, and see what they're reading and contributing to the community. Your interests also help us recommend relevant developerWorks content to you.

View your My developerWorks profile

Return from help

Help: Remove from My dW interests

What's this?

Removing this interest does not alter your profile, but rather removes this piece of content from a list of all content for which you've indicated interest. In a future enhancement to My developerWorks, you'll be able to see a record of that content.

View your My developerWorks profile

Return from help

static.content.url=http://www.ibm.com/developerworks/js/artrating/
SITE_ID=1
Zone=Information Management
ArticleID=86925
ArticleTitle=IBM DB2 Everyplace Wireless Data Synchronization with Nokia 92xx Communicators
publish-date=02112003
author1-email=wamayer@de.ibm.com
author1-email-cc=

Tags

Help
Use the search field to find all types of content in My developerWorks with that tag.

Use the slider bar to see more or fewer tags.

For articles in technology zones (such as Java technology, Linux, Open source, XML), Popular tags shows the top tags for all technology zones. For articles in product zones (such as Info Mgmt, Rational, WebSphere), Popular tags shows the top tags for just that product zone.

For articles in technology zones (such as Java technology, Linux, Open source, XML), My tags shows your tags for all technology zones. For articles in product zones (such as Info Mgmt, Rational, WebSphere), My tags shows your tags for just that product zone.

Use the search field to find all types of content in My developerWorks with that tag. Popular tags shows the top tags for this particular content zone (for example, Java technology, Linux, WebSphere). My tags shows your tags for this particular content zone (for example, Java technology, Linux, WebSphere).

Try IBM PureSystems. No charge.

Special offers