Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Passed SCJD with 368/400

 
L Foster
Ranch Hand
Posts: 185
10
Android Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have not been a 'ranchhand' up till now, but I have read the site fairly often.
I passed! I picked up a number of pointers from this site, especially late in the process of getting ready to submit the project. So I am grateful that so many have contributed to JavaRanch.
Here's the breakdown. Remember: max first, then score I attained
General Con 100 93, Documentation 70 54, OOD 30 30, GUI 40 31, Locking 80 80, Data Store 40 40, Network Server 40 40, Total 400 368
It took almost 5 weeks for me to get my score back after my sit-down test. The project I did was the URLyBird Version 1.2.2.
I was somewhat surprised that I did as poorly as I did on the GUI. Probably that was because I had not included any graphics at all, and did not use a tool bar (even though I should have known better :roll: )
Likewise the documentation: I have no idea why that was so low. My guess is that I put some instructions in that did not work correctly. But who knows?
Thanks again for all the advice.
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Congrats L, or whatever your actual first name is. Great job, you got perfect on Locking.
Mark
 
Andrew Monkhouse
author and jackaroo
Marshal Commander
Pie
Posts: 12014
220
C++ Firefox Browser IntelliJ IDE Java Mac Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Congratulations
 
dinesh pande
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Congratualtions. Well done !!!

dinesh
SCJP,SCJD,SCWCD,SECA(PartI),IBM 484,IBM 486
 
Karen Gomes
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Foster,
Thanks for sharing ur success with us.....with your FIRST post at javaranch.
Welcome and CONGRATS !!!
Cheers
Karen
 
Richard Jackson
Ranch Hand
Posts: 128
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,L
Congratulations!
Notice that your lock/unlock part was done very well.
Would you like to share your experiences with me?
Please tell me some important points.
Regards,
Richard
 
L Foster
Ranch Hand
Posts: 185
10
Android Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for your interest, Richard.
The salient points are: no true "Thread Manager", but I did use special "AutoLock" objects that kept track of what lock cookie they were supposed to belong to, as well as the number of threads that were waiting on the lock.
These AutoLocks were also tasked with providing the maximum time a waiting thread should wait. A map was used to associate actual record numbers with lock objects. Locks could be discarded from the map if no thread was waiting.
The Data object had the responsibility of incrementing/decrementing the waiting threads counter, and for setting up the Thread wait()'s and timing out. The timeout implementation would avoid deadlock if some thread managed to crash while holding the lock.
A final note: some of the other posts I have seen on this site lead me to believe that although this solution was well received, it may have been overkill, so keep that in mind.
Les
Originally posted by Richard Jackson:
Hi,L
Congratulations!
Notice that your lock/unlock part was done very well.
Would you like to share your experiences with me?
Please tell me some important points.
Regards,
Richard
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic