This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Certification Results and the fly likes Passed OCMJD Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Certification Results
Bookmark "Passed OCMJD" Watch "Passed OCMJD" New topic

Passed OCMJD

alan dunne

Joined: Jan 05, 2012
Posts: 6
I've just received my results for the project assignment and I received a score of 379. Thanks so much to all who helped me out, in particular Roel De Nijs and Himai Minh.

My major design choices were as follows:

Extended the DBAccess interface with my own custom interface
Used Singleton Data class
Used a cache populated at startup and written to at shutdown
Used two helper classes "behind" the Data class - one to access the db file and another to carry out the client operations after the cache is populated
The Data class used the facade pattern - the work was done by one of these helper classes. The Singleton nature of the class meant I had to pass the instance back to the helper in order to lock on (seemed ok!).
Used the MVC pattern - but did not update all clients following a booking. It is left to clients to refresh out-of-date data.
Implemented a thin client
Used RMI - because I felt it was easier
Implemented the 48-hour rule using a checkbox (to filter out currently unavailable rooms) but also an error message to inform users should an attempt be made to book an unavailable room (checkbox not ticked)
Used System.nanoTime() as the cookie generator - it was fine as a simple solution
Didn't use any logging - I would again if I had more time

Thanks again for the help!
Roberto Perillo

Joined: Dec 28, 2007
Posts: 2258


Cheers, Bob "John Lennon" Perillo
SCJP, SCWCD, SCJD, SCBCD - Daileon: A Tool for Enabling Domain Annotations
Roel De Nijs

Joined: Jul 19, 2004
Posts: 5139

Congrats champion with a great score!

Time to relax and have a few

SCJA, SCJP (1.4 | 5.0 | 6.0), SCJD
Amos Sekati

Joined: Aug 12, 2013
Posts: 5

Congrats Champ
Amos Sekati

Joined: Aug 12, 2013
Posts: 5

Congrats champ
I agree. Here's the link:
subject: Passed OCMJD
Similar Threads
NX: Notes on a design that passed 389/400
Yes! Passed! 388/400
Some tips ...
Data Class
Took essay exam yesterday (4th May 2010)