File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Spring in Action this week in the Spring 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)