• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

do i need to load data into d.structrure  RSS feed

 
Ranch Hand
Posts: 159
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?

thanks
 
Ranch Hand
Posts: 190
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!