Section - 2 : Processing Data


For the Singleton and Server modes, you can use the optional systemparams argument to point the program to a configuration file. In this case, the parameters argument is not used.

You can define the config symbol with the full or relative path to the configuration file. The command lines then look like this:

java [–cp classpath] [-Dconfig=configpath] mainclass

where mainclass is the Singleton or Server class reference and classpath provides all the necessary support and program classes. If you omit –Dconfig=configpath, the program looks for a for a file called connector.properties in the execution directory.

The parameters argument is not used for these cases. All configuration parameters come from the config properties file.