This week's book giveaway is in the
We're giving away four copies of a choice of
"Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac"
and have Joe Kissell on-line!
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Take Control of Upgrading to Yosemite
Take Control of Automating Your Mac
this week in the
Developer Certification (SCJD/OCMJD)
Data corruption in data file
Joined: Jul 02, 2004
Aug 29, 2004 00:49:00
How would you prevent it? What if JVM crashes and a thread fails to write record completely? How to handle that?
Anton Golovin (email@example.com) SCJP, SCJD, SCBCD, SCWCD, OCEJWSD, SCEA/OCMJEA [JEE certs from Sun/Oracle]
Joined: May 29, 2003
Aug 29, 2004 01:10:00
If it's not in the requirements, I wouldn't address it at all.
Nathaniel Stodard<br />SCJP, SCJD, SCWCD, SCBCD, SCDJWS, ICAD, ICSD, ICED
Joined: May 22, 2004
Sep 13, 2004 02:49:00
I guess the probabilty of the JVM crashing while writing the Data file is very unlightly, you must be very unlucky to have encountered that.
For safety precaution, I guess that's why people do backups, I think you have to assume that the CSR don't take care of backups, it's up to the job of the administrator.
Just my two cents of opinion
My Personal Website
Joined: Sep 23, 2003
Sep 13, 2004 07:04:00
It is taken care of by the fact you validate (or should validate) the data file stringently and don't allow the use of any file that fails.
SCJP 1.4, SCJD
subject: Data corruption in data file
supported content types in jsp
accessing data objects
JavaRanch Hit Count & Statistics
about transforming data
tool tip over a text
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014