• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Passed SCJD with 361/400

 
Maksim Golubkow
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks everybody for answering my questions.
General Con: 100 80
Documentation: 70 63
OOD: 30 27
GUI: 40 38
Locking: 80 80
Data Store: 40 40
Network Server: 40 40
Total: 400 361
Best luck to comming SCJD.
Best regards Maksim Golubkow
 
Philippe Maquet
Bartender
Posts: 1872
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Maksim,
Congratulations! And you even got a maximum score in locking!
Could you elaborate a bit about it (high level view), including the notification technique you used? (see this thread)
Thank you in advance,
Phil.
 
Maksim Golubkow
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Philippe,
The notofication technique depends on your design.
I have very, very, very simple design.
So for my design the use of notify()/notifyAll() in the lock method was an absolute nonsense. In the unlock() method I have used notifyAll().
Regards,
Maksim
 
John Stern
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
congratulations!
good luck with your career!
 
Ken Krebs
Ranch Hand
Posts: 451
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
good job, Maksim
 
Philippe Maquet
Bartender
Posts: 1872
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you Maksim for the information.
I have very, very, very simple design.
So for my design the use of notify()/notifyAll() in the lock method was an absolute nonsense. In the unlock() method I have used notifyAll().

Of course, I agree with you that calling notifyAll() from lock doesn't make sense, but the fact that you got 100% while calling notifyAll() in unlock() (as other people) confirms that the "consumes no CPU cycle" requirement may be loosely interpreted.
Regards,
Phil.
 
Glenn Castro
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Congratulations!
 
Andrew Monkhouse
author and jackaroo
Marshal Commander
Pie
Posts: 12007
215
C++ Firefox Browser IntelliJ IDE Java Mac Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Congratulations Maksim
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic