Your choice of RMI or serialized objects 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. No authentication is required for database access.
About "the program must allow the user to specify the location of the database". Is this operation taked place in server-side or client-side? Where does the button(or menu item) which touchs off upper event place?
Hi Xi, I can't help at this point because I'm still working at the data access layer but you can look at this thread: NX: URLy Bird 1.3.1 Suncertify.properties I think there you can get an answer on your question. Regards Ulrich
Well in local mode it would be on the client side, and in remote mode it would be on the server side. For example, with remote mode, the location of the db.db file can be supplied when the server is starting up. In Local mode, since there is no server, then the GUI must provide a mechanism for the user to select the location of the db.db file. Hope that helps. Mark