wood burning stoves 2.0*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes database? it's database server or database file? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "database? it Watch "database? it New topic
Author

database? it's database server or database file?

Jianping Wang
Ranch Hand

Joined: May 29, 2010
Posts: 60
Network Approaches
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 confused by the key word database here . It means server or just the data file?



SCJP 6 with 93%
Oracle Database SQL Expert with 98%
Roel De Nijs
Bartender

Joined: Jul 19, 2004
Posts: 4919
    
  10

in local mode the database file will be accessed (and changed) directly by your client application.

in networked mode your client application will access a server application over a network protocol (rmi or sockets). And it's the server application that will access (and change) the database file.


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: database? it's database server or database file?
 
Similar Threads
How to process the networking with a local database?
Assignment Issue
UrlyBird:different ways for conection
How many modes are there for the program?
Allow the user to change data file when running app in client mode?