Hi long,
In fact, readRecord does not require any lock, as it is a share lock. However, of course, you need to make sure that the record does not be updated when it is being read. Otherwise, the record will be changed. In DB world, they call this: "unrepeatable read".
For createRecord, there is no RECORD LOCK, however, you need to have a DB file lock, otherwise, multiple writes will corrupt the file. In DB world, they call this: "lost update".
Since you have uploaded the assignment, I dont think you can have a chance to reupload it, as SUN's said upload can only be performed once. If you need another upload, you need to pay US 125.
Anyway, dont worried. This is just minor stuffs, since you wont provide any APIs for the client to invoke the create method.
Nick
SCJP 1.2, OCP 9i DBA, SCWCD 1.3, SCJP 1.4 (SAI), SCJD 1.4, SCWCD 1.4 (Beta), ICED (IBM 287, IBM 484, IBM 486), SCMAD 1.0 (Beta), SCBCD 1.3, ICSD (IBM 288), ICDBA (IBM 700, IBM 701), SCDJWS, ICSD (IBM 348), OCP 10g DBA (Beta), SCJP 5.0 (Beta), SCJA 1.0 (Beta), MCP(70-270), SCBCD 5.0 (Beta), SCJP 6.0, SCEA for JEE5 (in progress)