Win a copy of The Business Blockchain this week in the Cloud forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

thanks

 
Brock Heinz
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey All,

This is my first post here, but certainly not my first time visiting. I just wanted to say thanks to everyone on this very cooperative board. This site is a resource that I wish I had known about before I began working on my certification. With 0 swing experience and 0 RMI experience I passed the Bodgitt and Scarper exam with the following:

General Con: 100 84
Documentation: 70 62
OOD: 30 30
GUI: 40 33
Locking: 80 80
Data Store: 40 40
Network Server: 40 40

Total: 400 369

All in all, my biggest challenge was time. Having a full time job, it was more difficult finding time at night and during weekends to complete the project. If anyone has any questions, I would be more than happy to help out.

Thanks,
Brock
 
Darya Akbari
Ranch Hand
Posts: 1855
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hallo Heinz,

at least you came out of your hideout

Congratulations

Regards,
Darya
 
Jeff Bosch
Ranch Hand
Posts: 805
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Congratulations! That's a great score.

I can relate to your battle with time. I work full time (50+ hours per week usually) and go to school full time plus I'm helping a friend start a business. Finding time to breathe, let alone to work on my assignment, has been tough. One step at a time, one step at a time...
 
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 Brock .
 
Bodenstab Oliver
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Congratulations

Can you tell me something about your locking???

Regards,

Oliver
 
Brock Heinz
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Bodenstab Oliver:

Can you tell me something about your locking???

Regards,

Oliver


Sure.

I ensured that the lock / unlock cycle was as short as possible. In the persistence methods that required locking, I would immediately attempt to lock the record, and then I would unlock the record at the end of my method.

I maintained my locks in a map. The key of the map was the record Id and the value was the instance of 'this' (the Data class). From what I gather, other projects had a 'cookie' mechanism in order to track clients, but without that functionality I decided to use each instance of the Data class to ensure uniqueness. Doing so, I was able to track which clients locked which records.

Since the interface that Sun provides contains public methods for lock / unlock, I chose to deprecate those methods while explaining that the access modifier should be narrowed (I believe they should be private methods).

Brock
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic