Originally posted by Roberto Perillo:
In my case, when the application starts, I load all records to the memory. So I check this value two times: when the application starts, and when the application finishes (if the valid file was exchanged by a non-valid file, the records aren't persisted back).
In my case, I didn't load all the records, I just used a particular formula to go to the particular record number.
Whatever your choice, just document it along with your reason.
Jeffry Kristianto Yanuar (Java Instructor) SCJP 5.0, SCJA, SCJD (UrlyBird 1.3.2)