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

Win a copy of Murach's Java Servlets and JSP this week in the Servlets 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: 5126

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