Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

UrlyBird (database file location)

 
Mike Tilling
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Could you advise please

In my UrlyBird assignement it was specified that

"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. No authentication is required for database access."

-In the server mode, how can the user specify the database file location?.
 
B Chen
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You'll need a little GUI for the server to allow users to enter DB file name.
 
Mike Tilling
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ranch,

the user has to know the database file location on the server?
 
B Chen
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes
This recent thread discusses startup modes.
http://www.coderanch.com/t/187919/java-developer-SCJD/certification/Does-it-GUIs-one-local
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic