Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Passed with 95%

 
Kim Barret
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I know this post doesn't belong here but I would like to thank everyone in this forum for all the help from everyone here especially Mark Spritzler, Andrew Monkhouse, Max H. and Philippe Maquet. This forum was my main reference for SCJD project. This is a great forum! Keep it up guys!!
Here are the details of my scores:
The maximum number of points is 400, to pass you need a score of 320.
General Con: 100 90
Documentation: 70 61
OOD: 30 30
GUI: 40 40
Locking: 80 80
Data Store: 40 40
Network Server: 40 40
Total: 400 381
 
Ken Krebs
Ranch Hand
Posts: 451
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nicely done, Kim
 
Max Habibi
town drunk
( and author)
Sheriff
Posts: 4118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Congratulations!
M
 
Raj Shekhar
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Congratulations. Great score!!!.
You have done better on locking than most of the people who passed recently. Would it be possible for you to post a high level overview of your design of locking??
thanks,
Raj
 
Philippe Maquet
Bartender
Posts: 1872
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Amazing score, Kim! Congratulations!
Phil.
 
Kim Barret
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Max, Ken and Philippe Am very happy with the score After the long wait for results! I submitted my assignment and took the exam in the first week of December!
Have a question: What all comes under general consideration? I am simply curious as to what I left out that they took off 10 points for general consideration...
Raj, here is my lock-unlock design:
For performance issues across a network, I decided to have a dedicated Data object per connection rather than using a singleton Data object to handle all requests to the database.
I implemented the lock and unlock methods in RemoteData class. For clarity and simplicity it made sense to implement these methods where they are actually used and RemoteData takes care of all database related remote calls. After all we need locking only when there are multiple remote clients trying to modify DB. In a local connection every connection has a devoted database of its own and there is no need to lock-unlock the DB.
My lock method first checks that database shouldn't be locked, if it is not locked then lock method calls lockRecord method for locking individual records. lockRecord method checks whether the specified record is already locked. If the specified lock is already locked then this thread waits until its unlocked. When the thread finds the record unlocked, it locks the record.
The unlock method, in a synchronized block, checks first whether this record is already locked. If it finds the record locked, the method checks if this thread is the owner of the lock. If yes then it unlocks the record otherwise it simply returns without unlocking the record.
When the lock method is called with -1 as the record number, the method checks first whether the database is already locked. If the database is already locked then a RemoteException is thrown telling the client that DB is already locked. If DB is not already locked then it is locked and no more client requests are accepted for booking, though the existing locked records are allowed to complete their booking.
Unlocking Entire Database: I did not provide this functionality.
 
Philippe Maquet
Bartender
Posts: 1872
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Kim,
Am very happy with the score

You may be!
One question: did you call notifyAll() in lock()? (*)
Best regards,
Phil.
(*) OK, I know: it looks like it's my current obsession...
[ February 10, 2004: Message edited by: Philippe Maquet ]
 
Kim Barret
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Phil,
I didn't call notify or notifyAll in my lock method. I simply put this in the InterruptedException catch block in the lock method:

I did use notifyAll in my unlock method after unlocking a record.
 
Philippe Maquet
Bartender
Posts: 1872
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks, Kim. notifyAll() in unlock() only is what I expected.
Regards,
Phil.
 
Raj Shekhar
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Kim.
 
George Marinkovich
Ranch Hand
Posts: 619
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Kim,
First, congratulations on an awesome score.
Second, thanks for commenting about your locking design.
Third, really sorry to hear it took almost 2 months to get your result. Did you send Sun an email after waiting six weeks? I've been waiting for only 4 weeks, but it seems much longer than that.
Finally, about your question:

Have a question: What all comes under general consideration? I am simply curious as to what I left out that they took off 10 points for general consideration...

you might take a look at the following thread. Some of the things that are discussed is the first [sic] section 4) seem to relate to the general considerations issue.
Topic: Looking for Bilingual Exam Assessor (Japanese/English)
Hope this helps,
George
[ February 10, 2004: Message edited by: George Marinkovich ]
 
Kim Barret
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi George,
Nope, didn't send any emails to Sun. I simply waited patiently checking the CertManager daily
Though I should have. If its over 4 weeks for you, go ahead and email Sun. Don't see any harm in reminding them, they might prod the assessor to take some action sooner...
 
George Marinkovich
Ranch Hand
Posts: 619
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Kim,
Originally posted by Kim Barret:
Nope, didn't send any emails to Sun. I simply waited patiently checking the CertManager daily

Wow, I admire your patience. I wish I could say I'm waiting patiently, but patience isn't one of my strong suites (OK, truth be told it's not even hanging in my closet!)
Congratulations again. I'm off to check the CertManager...
-George
 
Michael Ernest
High Plains Drifter
Sheriff
Posts: 7292
Netbeans IDE VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving this to Sun Certification Results.
 
George Thomson
Ranch Hand
Posts: 107
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi KIM
Congrats
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic