| 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: 2212
|
|
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
|
 |
 |
|
|
subject: Local or remote Database
|
|
|