Server (maximum = 53): 23
Major point loss for record-locking mechanism. Operation is fine when trying to lock a record that is already locked. But when trying to lock a single record at a time when the entire data base is globally locked, the code throws an exception rather than blocking.
there is no method required for unlocking a globally locked database
I explicitly coded this exception with a descriptive message as otherwise this call would block permanently
The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
Well not permanently: if the database shut down, then the client should receive an Exception due to the network disconnection.
SCJP, SCJD, SCWCD, SCBCD, SCEA, SCJP6
To be obtained: SCEA 5
"I'm not back." - Bill Harding, Twister
The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
BEA 8.1 Certified Administrator, IBM Certified Solution Developer For XML 1.1 and Related Technologies, SCJP, SCWCD, SCBCD, SCDJWS, SCJD, SCEA,
Oracle Certified Master Java EE 5 Enterprise Architect
Live a little! The night is young! And we have umbrellas in our drinks! This umbrella has a tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
|