File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "database? it Watch "database? it New topic

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

Joined: Jul 19, 2004
Posts: 8411

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
I agree. Here's the link:
subject: database? it's database server or database file?
It's not a secret anymore!