Chapter 2. The Case Study: ITSO Car Rentals 25
You will see in this case study, the device is logically some type of mobile
handheld device. In other scenarios, for say an insurance adjuster, this could be
a desktop, mobile computer, or even a handheld device.
2.2 Running the sample application
The sample application is created step by step in the following chapters. Here is
an overview of the completed sample application.
2.2.1 The sample application panels
The sample application has three panels:
򐂰 Login
򐂰 Main
򐂰 Config
Use the Login button to proceed to the main panel. A user ID and password must
be entered. These are not verified locally or remotely in the sample application,
but the same user ID and password are used during DB2 sync. See Figure 2-2.
Figure 2-2 The login panel
The main panel displays the pending and arrived rental customers. Check boxes
display next to each customer so that they can be marked to be moved to the
next state: Pending Arrived. Arrived Exited. See Figure 2-3 on page 26.
26 WCTME: Application Development and Case Study
Figure 2-3 The main panel with no data displayed
To record a status change, or just refresh the main panel, along with any
messages that might have arrived, use the Refresh/Submit button.
A Sync button is available to perform a database sync with the server. Although
the sync can complete quickly, there is a delay before the mirror database and
the host database are replicated. After that, the change is displayed on the
server.
A Device Update button is available to call a local agent to update the client
device based on jobs defined on the device management server.
The Logout button returns the user to the login panel.
To configure the demo, use the Config button to navigate to the configuration
panel.
For demonstration purposes, there is a Reset Demo button. This updates the
local database to show that no users have arrived and clears the vehicle location
information.
The config panel (Figure 2-4 on page 27) allows the user to set whether the
demo should be run in stand-alone mode or to use real servers for DB2 sync,
Chapter 2. The Case Study: ITSO Car Rentals 27
MQe messaging and Web services. The hosts and ports to be used can be
configured on this panel.
Figure 2-4 Config panels

Get IBM Workplace Client Technology Micro Edition Version 5.7.1: Application Development and Case Study now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.