I am pleased to inform you all that I have passed my SCJD Exam with a good score of 363/400. I am very thankful to all of these Forum members. Even though I did not have many posts I got so much info from reading the topics and I got a perfect score on locking.
Here is my score General Con: 100 92 Documentation: 70 63 OOD: 30 30 GUI: 40 28 Locking: 80 80 Data Store: 40 40 Network Server: 40 30 Total: 400 363
Once again I Thank each and every member of the forum. This Forum rules
[Andrew: Changed title (prior to moving to Sun Cert Results forum)] [ September 16, 2005: Message edited by: Andrew Monkhouse ]
Hi Tom, My approach was simple. My locking mechanism was implemented by simple Synchronize wait and notifyall. I had a static Hashtable which holds the locked records with a cookie. In my case I used the instance of the Data class as a cookie to identify the unique client because I have one data class instance per client connection. I used RMI to implement the server. I took the idea of Andrew while implementing the server. Here is the thread for itlocking without a cookie
Let me know if you need to know anything specific.