Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
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 Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Certification » Certification Results
Bookmark "Passed OCMJD" Watch "Passed OCMJD" New topic
Author

Passed OCMJD

alan dunne
Greenhorn

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
Bartender

Joined: Dec 28, 2007
Posts: 2268
    
    3

Congrats!


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

Joined: Jul 19, 2004
Posts: 5596
    
  15

Congrats champion with a great score!

Time to relax and have a few


SCJA, SCJP (1.4 | 5.0 | 6.0), SCJD
http://www.javaroe.be/
Amos Sekati
Greenhorn

Joined: Aug 12, 2013
Posts: 5

Congrats Champ
Amos Sekati
Greenhorn

Joined: Aug 12, 2013
Posts: 5

Congrats champ
 
 
subject: Passed OCMJD