posted 18 years ago
sun requests:
Network Approaches
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.
I can not understand how to accept an indication that a local database is to be used .And in which mode should i accept the indication that a local database to be used .
In my program , when launches with argument 'alone',can select local database file ,when launches with argument 'server',can select the server side database ,when launches with no argument ,do not use to select database file .
what should i do to meet to request ? Thank you for your help .