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