Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

database? it's database server or database file?

 
Jianping Wang
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Roel De Nijs
Sheriff
Posts: 10392
132
AngularJS Chrome Eclipse IDE Hibernate Java jQuery MySQL Database Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic