Eh? Aren't you supposed to specify that on the command line?
Nope.
Here are some quotes from my specs:
These command lines may only take configuration parameters selected from this list:
DNS name of the server
Port number used by the server
Data file name(s)
java.rmi.server.codebase
security manager policy file
---
The user interface for this assignment must satisfy the following criteria:
....
The user interface should connect to the database using either a local or a network based connection according to user choice.
...
In either case, the program must allow the user to specify the location of the database, and it must also accept an indication that a local database is to be used, in which case, the networking must be bypassed entirely
So though it states that the remote host and port MAY be passed at the command line, the latter quotes IMHO clearly state that the user should have the possibiliy to choose bwtween a local and remote connection.
For the remote connection, I use a JOptionPane dialog where the user can enter host[port]. Localhost and the default port 1099 are the default.
Regards, Klaas
[ September 08, 2004: Message edited by: Klaas van Gelder ]
"What you don't know, can't help you"
SCJP (81%), SCWCD (81%), SCJD (354/400), SCBCD (85%)