• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

B&S Passed 383/400

 
Jim Petersson
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I finally got my results today:
General Con: 100 90
Documentation: 70 70
OOD: 30 30
GUI: 40 33
Locking: 80 80
Data Store: 40 40
Network Server: 40 40
Total: 400 383

I did not implement any functionality not mentioned in the spec. My GUI was really simple, basically just two textfields for searching, a book-button and a 'File' and 'Help' menu.
In total ~1.5 kloc
 
Kah Tang
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Congratulations!!

BTW, when did you do your essay?
 
Jim Petersson
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Kah Tang:
Congratulations!!

BTW, when did you do your essay?


14'th of June, so it took a bit over 4 weeks.
 
Joe Harry
Ranch Hand
Posts: 10128
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Congratulations!
 
Jethro Borsje
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Great score, especially for the locking part. How did you go about locking?

And did you use sockets or RMI?
 
Jim Petersson
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Jethro Borsje:
Great score, especially for the locking part. How did you go about locking?

And did you use sockets or RMI?


Thank you!
I synchronized all methods accessing the db. (even reads).
Besides that I also created my own "lock" objects to represent a lock for a given record.
Those lock objects were used for waiting/notifying other threads.

I used RMI.
 
Jethro Borsje
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Jim Petersson:
I synchronized all methods accessing the db. (even reads).
Besides that I also created my own "lock" objects to represent a lock for a given record.
Those lock objects were used for waiting/notifying other threads.

Did you synchronize on the RAF file every time or did you use a caching mechanism?

Did you use the Value Objects design pattern?
 
Jim Petersson
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Jethro Borsje:

Did you synchronize on the RAF file every time or did you use a caching mechanism?

Did you use the Value Objects design pattern?


Every method (read, update etc.) created their own RAF, so no need to synchronize on that.
I did not use caching, instead I updated the data-file directly.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic