• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Locking and UnLocking:Max's Book

 
Ranch Hand
Posts: 267
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi
I have Max's book and i now fully understand the SCJD requirement. However i have a burning question concerning the locking concept implemented in Max's book. I would like to know how effective Max's locking concept is as compared to using a HashMap(Someone got 80/80 using this.) in the present SCJD assignment. If i were to fully use is locking concept in his book is it gonna be effective? In my own opinion i think Max's concept is enough! I will like your opinion on this guys. Thanks all
 
Saheed Adepoju
Ranch Hand
Posts: 267
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Hey guys! Please tell me what you all think! Thank u!
 
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am just guessing, but given the excellent reviews of that book, I wouldn't be too concerned about following it's advice.

There are lots of other posts regarding the infamous 44/80 locking score which you might find helpful.

I for one have Maxs book and I think it is excellent.
 
town drunk
( and author)
Posts: 4118
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Saheed,

You have to remember, the project in the book is significantly different from the actual SUN project. It wouldn't have been ethical for me to have made them too similar. Accordingly, you can pretty much bet that my locking code, exactly as written, won't work for the real exam.

However, you can also be pretty sure that understanding my locking code, and the various factors that led to it's implementation, will help you understand your own locking issues. I know that's pretty cryptic, but it's as clear as I can ethically be. Why don't you try asking some specific conceptualquestions here, as seeing what everyone has to say about them? You may find that simply vocalizing some of your concerns leads you to an answer.

All best,
M
 
Did you just should on me? You should read this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic