Hi all,
I am just looking for a little clarification here. From my instructions I have identified 4 modes that application can be started.
1. Start in standalone mode. The application bypasses the networking entirely and everything runs on the one machine. In this instance the user is presented with a configuration screen at startup that allows them to configure location of the database only. This box has been prepopulated with the db location from suncerify.properties.
2. Start in server mode. This will start the RMI server only. Presumably the examiner is then going to come along and start the client (option 3) on a different machine to prove the networking works. The user is presented with a configuration screen at startup that allows them to configure location of the database only. This box has been prepopulated with the db location from suncerify.properties.
3. Start with no arguments. This assumes that there is an RMI server running somewhere and the user is presented with a configuration screen that allows them to configure the host and port that they can connect to. Since the db access is on the server side you cannot connect to a different db when starting the client.
4. Start with invalid arguments. This just throws and exception and tells the user they have not used valid arguments.
So my question: I just want to make sure that my understanding of the networking stuff is correct. When they start in server mode they are just starting the server right? not actually using the application. Unless there is some way to remotely start an RMI server that I am unaware of.
Thanks,
Deirdre