To run my remote server i require the command line option: '-Djava.rmi.server.codebase=file:///path/to/classes' however the assignment explicitly states 'Your programs must not require use of command line property specifications.' I would incldue specifiying the codebase within command line property specifications.
Am I missing something technically or am I reading too greater restriction into the specification ?
Joined: Feb 04, 2005
You could employ a dialog to capture this information and/or use a properties file.
SCJP 1.4<br />SCJD <br />SCWCD (Studying)
Joined: Jun 20, 2005
The assignment also states that the examiner 'must not require manual editing of any files' and I would consider an odd design where you set the location of the code once the application is running.
Joined: Dec 29, 2004
You should not need such a setting. I am not an RMI expert, but I got it to run without having to make such a setting, neither from the command-line nor from within my program.