• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Letter to Mr Monkhouse.

 
Abiodun Okusolubo
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am gradually doing my SCJD assignment, (B&S). I have decided on all issues but 1. That is the locking aspect. This carries a lot of mark and I am not ready to loose even 1. However, I've got the version 1 of the text book, which was of no use to me at all also because the file system is far different from what I have. I know you were not among the authors but I am expecting a lot you from Mr MONKHOUSE. Therefore my questioning is, does your new textbook deal with Locking relative to this generation of SCJD Assignments? Also according to some of your postings, it appears you passionately don't like singleton because it is kind of a mediocre approach. Okay that is fine, but does your text book deal with this area enough.

Thank you Mr Monkhouse
 
Saheed Adepoju
Ranch Hand
Posts: 267
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey Good day!
I see that you have obtained your assignment as well! I was curious as to what kind of approah you were using for your assignment! I have been able to read records and i am abit confused on what to do next, but i have ideas concerning the design patterns(Which is what i am mainly confused about)! Anyways i just wanted to say hello and it's nice to see a fellow Nigerian doing the SCJD assignment(And the same type: Mine is B&S Version 2.1.1)!Concerning the locking you presented, you could do a search for locking in the SCJD forum, trust me there are a lot of them and i dont think i would have problems with locking after i went thru most of the posts! Have a nice day and see you often now on the ranch!
 
Abiodun Okusolubo
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Saheed, This locking stuff has never been more confusing. I have spent the last hours going through most of postings, but with still ever more in doubt. If you have some time, just let me know what the pseudocode is, then I'll able to build it up.

Now to your question, I started the system with the uml stuff, class diagram... Then moved on to GUI ... the simple stuff. However, I used various design patterns in different areas. MVC, Observer, business delegate, Tranfer object...
so I am developing from the GUI down until Andrew's book is released to read his love locking techniques. However, actually it is the implementation of lock methods in the interface that is not too clear. However, I know I'll get it.
 
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
Hi Abiodun,

You might be interested in looking at this post where you can find the TOC for my book.

We have addressed both accessing data from file and record locking differently in the new book compared to how it was in the first edition. These are now closer to the problems you will encounter in the real assignment. However as with the first edition, we cannot just give the solutions away (and we believe you would not want us to), so there are differences between our sample project (and it's associated record locking) and your real assignment.

In chapter 5 we briefly discuss using the singleton pattern with the Data class, and why we decided against it. We also consider it with some other classes in that same chapter, giving reasons for and against using the singleton pattern.

Regards, Andrew
 
Abiodun Okusolubo
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks very much Mr Monkhouse, I'll keep vigil for the arrival of this book. I guess this just all I need and SCJD will be a bang.

Thanks.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic