Forums Register Login

Help-specify the database

+Pie Number of slices to send: Send
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 .
+Pie Number of slices to send: Send
Hi Zhi

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 .

Well, if the user launches the application with the 'alone' argument, then they have indicated that a local database should be used

Regards, Andrew
passwords must contain 14 characters, a number, punctuation, a small bird, a bit of cheese and a tiny ad.
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 774 times.
Similar Threads
Switch between remote/local db required?
Spec Clarification on Database location
NX: Contractor 2.3.1 Ambiguities in the Spec
about the "server" instructions
Network approaches confusing statement
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 18:48:39.