This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: UrlyBird (database file location)
 
Similar Threads
URLyBird Questions
Urlybird 1.2.1 - Clarifying network/standalone requirement
URLyBird database location
NX: URLyBird validation of requirements
URLyBird 1.2.2 confusion in the spec