Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Help-specify the database

 
zhi peng
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 .
 
Andrew Monkhouse
author and jackaroo
Marshal Commander
Pie
Posts: 11945
212
C++ Firefox Browser IntelliJ IDE Java Mac Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic