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 ?
Jack Gold
Ranch Hand
Joined: Feb 04, 2005
Posts: 85
posted
0
You could employ a dialog to capture this information and/or use a properties file.
SCJP 1.4<br />SCJD <br />SCWCD (Studying)
Ian Redknapp
Greenhorn
Joined: Jun 20, 2005
Posts: 3
posted
0
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.
Frans Janssen
Ranch Hand
Joined: Dec 29, 2004
Posts: 357
posted
0
Hi Ian,
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.