How should the program know if it is to be run in local or remote mode ??
I am using a command line '
String' parameter with values 'local' or 'remote'. Is this OK ?
I know that instructions with the assignment clearly state acceptable command line parameters which are 'DNS name of the server', 'Port number', 'Data file name', 'codebase property', and policy file. But instructions also say that '... the program must accept an indication that a local database is to be used ....'. Doesn't it mean that one of the parameters could be mode; i.e. local or remote ??