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 Local or remote Database Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Local or remote Database" Watch "Local or remote Database" New topic
Author

Local or remote Database

Victor Bucutea
Ranch Hand

Joined: Nov 24, 2008
Posts: 43

Hi again,


Some aspects of Sun's assignment leave some room for interpretation :

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


This can be interpreted in 2 ways:

1. When starting the GUI , even in client mode, the user should have an option to use a local DB
2. This passage is referring only to the stand-alone mode, but in this one, why should the user have an option to choose that a DB is to be used, because the program will do this automatically.


Victor
Roberto Perillo
Bartender

Joined: Dec 28, 2007
Posts: 2266
    
    3

Howdy, Victor!

Champion, try to see if this helps:

Your choice of RMI or serialized objects will not affect your grade, but no other approach is acceptable. Whatever is your choice (RMI/Sockets), the program must allow the user to specify the location of the database (since you will be running the server), and the program, when it is being started, must also accept an indication that a local database is to be used (in this case, you will be running the program in standalone mode), in which case, the networking must be bypassed entirely.


Cheers, Bob "John Lennon" Perillo
SCJP, SCWCD, SCJD, SCBCD - Daileon: A Tool for Enabling Domain Annotations
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Local or remote Database