In my submission, it says: When you submit your assignment, each part (client and server) must be executable using a command of this exact form: java -jar <path_and_filename> [<mode>] Your programs must not require use of command line arguments other than the single mode flag, which must be supported. Your programs must not require use of command line property specifications. All configuration must be done via a GUI, and must be persistent between runs of the program. Such configuration information must be stored in a file called suncertify.properties which must be located in the current working directory. 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 have two questions now, how can I use my policy file in running my server? What's meaning of standalone mode?
Mike<br />SCJP SCJD
Joined: Apr 15, 2003
Originally posted by Mike He: how can I use my policy file in running my server? What's meaning of standalone mode?
Mike, My project is B&S Contractors and I was specifically prohibited from using a policy file: "You must not require the installation of a security manager. " Maybe your instructions have something similar. In any case, from my reading of your situation it seems pretty clear that it can't be a command line parameter. This shouldn't be a problem since I don't think a policy file is necessary. My interpretation of standalone mode is as follows: Standalone mode could also be called local mode as the database is local to the client. The client accesses the database directly without going through any network. There is no server needed. Hope this helps, George