aspose file tools*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Confused about instructions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Confused about instructions" Watch "Confused about instructions" New topic
Author

Confused about instructions

Daniel Breitner
Ranch Hand

Joined: Nov 13, 2008
Posts: 70
Hello everybody,


I just read my assignment again and I stumbled about one sentence:

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.


I am a little confused about this "specify the location" and "accept an indication that a local database is to be used" thing.

The User that started the Server, the Client or the combined version already knows, what he is starting, right ? There is no way, a user could start a Client to connect to a server and then connect to a local database.

If it just me or does this sound strange ?


with kind regards


daniel


Visit me at http://liferay-blogging.blogspot.com
Roel De Nijs
Bartender

Joined: Jul 19, 2004
Posts: 5595
    
  15

Hi Daniel,

There is no way, a user could start a Client to connect to a server and then connect to a local database.
Exactly! You start in networked mode (gui which connecting to a server to modify the database file) or you start the standalone mode (gui + modifying database in 1 application).

Kind regards,
Roel


SCJA, SCJP (1.4 | 5.0 | 6.0), SCJD
http://www.javaroe.be/
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Confused about instructions