I want to use special argument prefix to distinguish the different argument, such as for client application: Client -SVRservername -POportnumber ... to connect Remote server or Client -DBdbfile to use local DB. Is is OK for application or is there some better way to implement it?
Why use prefixes in stead of using flags. For instance: java clientProgram -server localhost -port 1099 Another possibility is using properties: java -Dserver=localhost -Dport=1099 clientProgram Hope this helps, Henk
Always! Wait. Never. Shut up. Look at this tiny ad.
Devious Experiments for a Truly Passive Greenhouse!