Before you start
In Part 1 of this tutorial series (see Resources for a link), you built a sample mobile application for taking orders. This application used the JavaTM 2 Platform, Micro Edition (J2ME) Record Management System for storing order information. You also learned how to craft a MIDlet that performs the logic necessary for creating and accessing the database application and saw how to deploy it to a J2ME environment.
In this second tutorial, you'll synchronize the order information stored in the J2ME Record Management System with a remote, open source CloudscapeTM database. You'll build your own two-way synchronization logic. The mobile application will supply all the information necessary for a remote sever-based application to act upon, ship the ordered product, and update the product information in a remote Cloudscape database. The mobile user can track the status of the order by synchronizing with this database.
To gain the most from the information in this tutorial, you should have a good working knowledge of J2ME. You should have also installed the software and application described in Part 1 of the tutorial series (see Resources for a link).
Before you start working, make sure you have the following downloads on your system:
- The J2ME Wireless Toolkit 2.2
- The Java SDK 1.4.1 (Java Software Developers Kit)
- IBM Cloudscape 10.0
- The Minimal kXML Java Archive (JAR) file
- Tomcat 5.0
- The sample code that accompanies this article.
The tutorial discusses the installation of all of these components in Installing the software.

