The requirement document says, You may choose between using RMI, or using serialized objects over TCP socket connections, to implement the database network communication. Your choice here will not affect your grade, but no other approach is acceptable. 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. When they say "the program must allow the user to specify the location of the database", do I need to show a text field in a modal dialog along with radio buttons describe below to the user to enter the db file name? When they say "and it must also accept an indication that a local database is to be used", do I need to throw a modal dialog with a radio button to select either remote or local? Thanks a lot.
Elsewhere, the instructions list permissible command line options. Have a look. You can, but do not have to use dialog boxes. - Peter
Joined: Feb 25, 2002
Peter, Thanks for the reply. The spec does list the command line options including the db file name. Are you saying that I must let the user enter the db file name either by 1) text field in a dialog or 2) command line option.? Right now, I don't pass any db file name from the client to the server when I ask for the data remote impl object. I intend to have a seperate method in the server to return me a specific remote impl object. May be passing the name to the server factory really behaves like a factory. I need your comments. Thanks again.