• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

B&S server: datafile location

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,

I am at the final state of completing the assignment.

+ Currently I donot use any property file (as they are not required), and I also dont implement and GUI configuration for the server. The datafile location is hardcoded.Will I get automatic failure in doing it that way?

+ My GUI client behaves exactly the same in both "alone" mode and "no flag" mode. In both modes, it allows user to select the database location, either local or remote. When a local database is selected, no network code is used.At anytime, user can disconnect the current database and select a different database. Will i get automatic failure in doing it that way?

Thanks all
 
Ranch Hand
Posts: 356
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hello,

Originally posted by Hung Sam:

+ Currently I donot use any property file (as they are not required)


not required? Never seen an assignment where it is NOT a clear "must".

Originally posted by Hung Sam:

+ My GUI client behaves exactly the same in both "alone" mode and "no flag" mode. In both modes, it allows user to select the database location, either local or remote. When a local database is selected, no network code is used.At anytime, user can disconnect the current database and select a different database. Will i get automatic failure in doing it that way?


This alone would voilate about 3 - 5 "must"s in my assignment. So yes, I think you would get an automatic failure.

Maybe you have just a very uncommon assignment, but maybe something is very wrong about your interpretation.

I recommend to read the entire assignment again, carefully, and for each requirement ask yourself: "What could I do to match this requirement even better?" rather than "How can I interpret this requirement so that my project matches it?"

Highlight the word "must" then and go through all "must"s seperately.

Conan

p. s.: some relevant parts of my assignement, B & S 2.3.2 (bold text by me):

Your programs must not require use of command line arguments other than the single mode flag, which must be supported.


Want to argue about what "supported" means?

All configuration must be done via a GUI, and must be persistent between runs of the program. Such configuration information must be stored in a file called suncertify.properties which must be located in the current working directory.


... and about what "All configuration" is:

the program must allow the user to specify the location of the database


[ December 16, 2004: Message edited by: Conan Elvitaro ]
 
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

the program must allow the user to specify the location of the database



I have the same requirement as well. I'm curious as to how far people met this requirement. I figure these are questions to ask myself as well, but I am curious to hear how you folks approached this requirement.

Network Client mode - I imagine this means the client is allowed to configure the IP of the server. Does this *also* include the name and PATH of the database file?

Local Client mode - Is the user allowed to choose the name of the database file? Also, is the user allowed to modify choose the PATH (directory)?
 
Ranch Hand
Posts: 181
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Vincent Hernandez:


I have the same requirement as well. I'm curious as to how far people met this requirement. I figure these are questions to ask myself as well, but I am curious to hear how you folks approached this requirement.

Network Client mode - I imagine this means the client is allowed to configure the IP of the server. Does this *also* include the name and PATH of the database file?

Local Client mode - Is the user allowed to choose the name of the database file? Also, is the user allowed to modify choose the PATH (directory)?


Network Client- Configure IP and Port
Network Server- Configure Port and Database file location
Local Client- Database file location.
 
Vincent Hernandez
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Network Server- Configure Port and Database file location


This seems to imply to me that a GUI must be made for the server in order to configure the the quoted settings. Is this correct?
 
reply
    Bookmark Topic Watch Topic
  • New Topic