Jethro,Kah,
My locking was not up to the spec during my first submission. I have not used the object.wait,notifyall at all. My lock and unlock methods had nothing but add or remove the records from a collection(no wait,notify).
https://coderanch.com/t/189941/java-developer-SCJD/certification/Scjd-Failed-due-locking During my second submission, i have moved my locking from client to the server side. used object.wait and notifyall. I have read many threads about locking and got the idea of how to do it.
example
synchronized(lock){
while(isLocked(recNo)){
try{
lock.wait();
......
....
}
I hope i answered your questions and good luck to you all.