Hi Marcel,
Which assignment are/were doing anyway?
I'm doing URLyBird, currently I
test it and write documantation.
Did you really implement a DAO approach? I've worked with the DAO pattern in a J2EE environment a while ago. I would be interested in how you applied DAO to the SCJD assignment.
As said in instructions, I must create Data class which implements DBMain interface. I use DAO pattern; so that Data class is responsible for only IO operations with database file and, correspondingly, DBMain defines DAO API. Some methods (lock, unlock, isLocked and find), required by DBMain (proposed in instructions) are implemented, but marked as deprecated and their functionality is distributed between other classes.
Hope it helps,
Regards,
Regards<br /> <br />Ph.D.<br />SCJP 1.4, SCWCD 1.4, SCBCD 1.3, SCJD 2