aspose file tools*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Help-specify the database Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Help-specify the database" Watch "Help-specify the database" New topic
Author

Help-specify the database

zhi peng
Greenhorn

Joined: Oct 02, 2005
Posts: 4
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

Joined: Mar 28, 2003
Posts: 11481
    
  94

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


The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
 
wood burning stoves
 
subject: Help-specify the database