Chapter 2. The Case Study: ITSO Car Rentals 31
Table 2-1 Files and directories
2.2.4 Application properties
The sample application is designed to run in a stand-alone, demonstration mode,
simulating the server side components, or attempt to use the servers configured.
The application and its servers are configured using the application config page.
The settings are saved in a properties file. When the application runs, if the
properties file cannot be found, one is created using default values and all
services will default to running in stand-alone mode.
The properties file contains the following values in Table 2-2.
Table 2-2 Properties file
file Notes
itso_rentals.properties If the application properties file is not
found one is created with default values
ITSODatabase A directory for the DB2e files
ITSOQueues
a
a. The name of this file is dependant upon the device’s queue name defined on
the application configuration panel. The name must be unique in the system.
A directory for the MQe files
OSGiAgentTree.bin
OSGiAgentTree.bin.bak
File(s) generated by the SyncML/DM
OSGi Agent bundle.
Note: Once created, you should only delete these files or directories if you
intend to reset the device or the specific subsystem that created them.
Property Description
itso.database.standalone Stand-alone mode setting for database services
(sync only)
Default value: true
Configured with the application config panel
syncprotocol Default value: isync:db2e:
server.url Address of the database sync server
Default value: http://your_db2sync_server:80
Configured with the application config panel
32 WCTME: Application Development and Case Study
isync.user The user ID of the person logged into the program
and used during sync
Configured with application login panel
isync.password The password of the person logged into the program
and used during sync
Configured with application login panel
isync.timeout sync time-out, see DB2e sync documentation
Default value: 60
isync.trace Level of sync trace, see DB2e sync documentation
Default value: default
path Directory where database tables are stored, see
DB2e sync documentation
Default value: ITSODatabase
jdbcsuburl see DB2e sync documentation
filesubdir see DB2e sync documentation
itso.mqe.standalone Stand-alone mode setting for messaging services
Default value: true
Configured with application config panel
itso.mqe.QMIPAddress Address of the MQe server
Default value: your_MQe_Server
Configured with application config panel
itso.mqe.QMPort Port of the MQe server
Default value: 8086
Configured with application config panel
itso.mqe.QMName Local MQE queue name and must be unique for
each client of the MQe system
Default value: ITSOQueues
Configured with application config panel
Property Description

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.