Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes do i need to load data into d.structrure Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "do i need to load data into d.structrure" Watch "do i need to load data into d.structrure" New topic

do i need to load data into d.structrure

Beny Na
Ranch Hand

Joined: May 26, 2004
Posts: 159
hi all,

i need to confirm on what i have done is right.

all client will read/modified the same database file(.db)
if there was a changed in databasefile(.db) then a client who is reading the database file will see the change(refresh by itself in the jtable).

so i don;t do anything about loading all records into d.struc(e.g linkedlist), read and changed/update will happen directly on the databse file(.db)
is it correct?

James Clinton
Ranch Hand

Joined: Jun 23, 2003
Posts: 190
All clients read/write to/from the same db file.
It's your choice if you want to implementing record cache-ing or not.

IO has a large performance overhead so is a prefered choice by some, however this is not required to pass.

Either way, it a good talking point you should consider in the written exam.
[ December 15, 2004: Message edited by: James Clinton ]
wood burning stoves
subject: do i need to load data into d.structrure
It's not a secret anymore!