When "alone" flag is specified does this mean that the application should start in non-networked mode when all operations are performed on file-system level
it means that the client GUI application starts that performs all operations over the network using RMI or sockets?
Why do I feel confused about this really simple question? Because under "Overall Architecture > Non-Networked Mode" of the assignment instructions I read
The operating mode is selected using the single command line argument that is permitted.
(note this is written NON-networked paragraph) and under "Deliverables > Target Platform and Execution" paragraph I read
The mode flag must be either "server", indicating the server program must run, "alone", indicating standalone mode, or left out entirely, in which case the network client and GUI must run.
This makes me think that standalone equals non-networked, so under NON-network section we are indirectly advised to specify config parameter and under "Target Platform and Execution" we are not advised to specify any parameter.
Who knows the truth please answer what is the right thing to do? [ September 21, 2008: Message edited by: Roman Yankin ]
Originally posted by Roman Yankin: The mode flag must be either "server", indicating the server program must run, "alone", indicating standalone mode, or left out entirely, in which case the network client and GUI must run.
I got confused myself while reading your question.. It is quite simple:
Your application can run in 3 mode:
To launch the application as a "server", you need to specify the keyword "server". To launch the application as a "standalone client", need to specify keyword "alone". To launch the application as a "network client", no keyword. It also requires that another instance of your application is running as "server".
The "network client" will communicate with the "server" to access the database. The "standalone client" will not use any network code you wrote dealing with client/server stuff. The "standalone client" will directly access the database (no network or fake network/loopback, no RMI, no server side threads...).
Regards, Alex [ September 24, 2008: Message edited by: Alex Belisle Turcot ]