aspose file tools*
The moose likes Certification Results and the fly likes Passed with 95% Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Certification Results
Bookmark "Passed with 95% " Watch "Passed with 95% " New topic
Author

Passed with 95%

Kim Barret
Greenhorn

Joined: Jul 21, 2003
Posts: 14
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

Joined: Nov 27, 2002
Posts: 451
Nicely done, Kim


kktec<br />SCJP, SCWCD, SCJD<br />"What we observe is not nature itself, but nature exposed to our method of questioning." - Werner Heisenberg
Max Habibi
town drunk
( and author)
Sheriff

Joined: Jun 27, 2002
Posts: 4118
Congratulations!
M


Java Regular Expressions
Raj Shekhar
Greenhorn

Joined: Jan 26, 2004
Posts: 25
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

Joined: Jun 02, 2003
Posts: 1872
Amazing score, Kim! Congratulations!
Phil.
Kim Barret
Greenhorn

Joined: Jul 21, 2003
Posts: 14
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

Joined: Jun 02, 2003
Posts: 1872
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

Joined: Jul 21, 2003
Posts: 14
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

Joined: Jun 02, 2003
Posts: 1872
Thanks, Kim. notifyAll() in unlock() only is what I expected.
Regards,
Phil.
Raj Shekhar
Greenhorn

Joined: Jan 26, 2004
Posts: 25
Thanks Kim.
George Marinkovich
Ranch Hand

Joined: Apr 15, 2003
Posts: 619
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 ]

Regards, George
SCJP, SCJD, SCWCD, SCBCD
Kim Barret
Greenhorn

Joined: Jul 21, 2003
Posts: 14
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

Joined: Apr 15, 2003
Posts: 619
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

Joined: Oct 25, 2000
Posts: 7292

Moving this to Sun Certification Results.


Make visible what, without you, might perhaps never have been seen.
- Robert Bresson
George Thomson
Ranch Hand

Joined: Jul 09, 2003
Posts: 107
Hi KIM
Congrats


George Thomson<br />SCJP, SCWCD, SCBCD, IBM-141(XML), SCEA<br />......................................................................
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Passed with 95%