aspose file tools*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Spec Clarification on Database location Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Spec Clarification on Database location" Watch "Spec Clarification on Database location" New topic
Author

Spec Clarification on Database location

Sai Prasad
Ranch Hand

Joined: Feb 25, 2002
Posts: 560
The requirement document says,
You may choose between using RMI, or using serialized objects over TCP socket connections, to implement the database network communication. Your choice here 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.
When they say "the program must allow the user to specify the location of the database", do I need to show a text field in a modal dialog along with radio buttons describe below to the user to enter the db file name?
When they say "and it must also accept an indication that a local database is to be used", do I need to throw a modal dialog with a radio button to select either remote or local?
Thanks a lot.
Peter den Haan
author
Ranch Hand

Joined: Apr 20, 2000
Posts: 3252
Elsewhere, the instructions list permissible command line options. Have a look. You can, but do not have to use dialog boxes.
- Peter
Sai Prasad
Ranch Hand

Joined: Feb 25, 2002
Posts: 560
Peter,
Thanks for the reply. The spec does list the command line options including the db file name. Are you saying that I must let the user enter the db file name either by
1) text field in a dialog or
2) command line option.?
Right now, I don't pass any db file name from the client to the server when I ask for the data remote impl object. I intend to have a seperate method in the server to return me a specific remote impl object. May be passing the name to the server factory really behaves like a factory.
I need your comments.
Thanks again.
Peter den Haan
author
Ranch Hand

Joined: Apr 20, 2000
Posts: 3252
Either 1) or 2) -- it's up to you.
- Peter
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Spec Clarification on Database location