This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes UrlyBird  (database file 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 "UrlyBird  (database file location)" Watch "UrlyBird  (database file location)" New topic
Author

UrlyBird (database file location)

Mike Tilling
Ranch Hand

Joined: Feb 17, 2006
Posts: 86
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

Joined: Dec 27, 2005
Posts: 89
You'll need a little GUI for the server to allow users to enter DB file name.


SCJD<br />SCJP 1.4
Mike Tilling
Ranch Hand

Joined: Feb 17, 2006
Posts: 86
Ranch,

the user has to know the database file location on the server?
B Chen
Ranch Hand

Joined: Dec 27, 2005
Posts: 89
Yes
This recent thread discusses startup modes.
http://www.coderanch.com/t/187919/java-developer-SCJD/certification/Does-it-GUIs-one-local
 
GeeCON Prague 2014
 
subject: UrlyBird (database file location)