Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Passed 389/400

 
Dmitri Christo
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Finally, got the results after almost 4 weeks of waiting, here it is:

Assignment: URLyBird 1.2.1

General Con: 100 96
Documentation: 70 70
OOD: 30 30
GUI: 40 33 (I admit I cut a few corners here)
Locking: 80 80
Data Store: 40 40
Network Server: 40 40
Total: 400 389

Special thanks to specific ranchers who regularly answered my questions, and of course to everyone else whose past discussions turned out to be very very helpful.

As a final note to future/current candidates, this forum truly covers almost 100% of what you need to pass scjd.
[ May 09, 2008: Message edited by: Dmitri Christo ]
 
Mary John
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Congratulations

Superb..

 
Mary John
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dmitri,

Could you share some of your design choices with us,

like
1.thin or fat client?
2. rmi or sockets, if rmi, did you use RMI factory, was your assignment based on cookies for concurrent access?
3. GUI choices:layouts used, textfields or comboboxes for searching?
4. did you use caching

etc

Thanks
Mary
 
Roberto Perillo
Bartender
Posts: 2271
3
Eclipse IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Howdy, partner.

That's why I hadn't seen you for a while here... you had already finished the assignment!
Ok partner, that's a great score. Almost perfect. I think that in the most difficult requirements, you were perfect (Data class, locking...).
Congratulations to you and enjoy man!
 
Dmitri Christo
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Bob for your helpful advice so far, and best of luck with your assignment. I am sure you'll do just great.

Some more final notes:
1) I used RMI since it is straightforward to implement and there are plenty of good threads in this forum analyzing the topic.
2) I used minimal logging only during the remote connection phase, just as an indicator that the connection was successfully established.
3) My assignment required cookies, and I used System.currentTimeMillis(); to generate the cookie with notifyAll(); in the unlock method. The design was based in two different classes (FileManager and LockManager). This is discussed in a lot of detail in past conversations.
4) Used this to check my locking design
5) Minimal GUI, just two text case-sensitive fields, and only three buttons: search, book and unbook - (Well, I lost some points here, so perhaps they do expect a more elaborate user interface)

I know searching this forum requires some effort, but you will really find all you need in here. I found out later I didn't even need to ask several of my questions in the first place, since they were already answered.
 
Roberto Perillo
Bartender
Posts: 2271
3
Eclipse IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Dmitri Christo:
Thanks Bob for your helpful advice so far, and best of luck with your assignment. I am sure you'll do just great.


Alright! As soon as I am a SCJD, we'll grab a beer to celebrate!

Quick question for you Dmitri, what was the final size (in Kb) of your design_choices.txt? And how many classes/packages does your project have?
I'm already done with the code, and now I'm "having fun" with the documentation!
 
John Mattman
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Great score. Congrats!


-------------------------------
John
 
Dmitri Christo
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
my choices.txt file was about 7KB (uncompressed). Sounds not too big, but you can put a lot of information in ascii format in there actually. My submission jar file was 365KB.

In the suncertify.code folder I had four packages:

db - 9 classes
direct - 1 class
remote - 6 classes
gui - 12 classes

Andrew's book gave me a lot of good ideas for the packaging structure and design in general. However, I didn't follow the value object approach (RMI works just fine with arrays of strings), and the use of concurrent package. I only used synchronized to take care of all locking.
 
Roberto Perillo
Bartender
Posts: 2271
3
Eclipse IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hum... now, I'm sort of worried... I finished my project with 9 packages (5 main ones; 1 package inside one of them and other 3 inside another one)... and 56 classes... and around 2000 lines of code. Well, hopefully that's not going to be a problem

Do you have an idea of how many lines of code you wrote?
 
Dmitri Christo
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I can't tell for sure off the top of my head, I didn't keep count actually. Will take me some time to check that.

But, I did forget to mention in my previous post, that I had several inner classes mostly in the gui package (around 5 or 6 I think)

I wouldn't worry about the quantity of your packages, there is no right or wrong here. My main design principle was to keep everything minimal, almost basic, while fulfilling all requirements.

I'm sure you'll do fine
 
Roberto Perillo
Bartender
Posts: 2271
3
Eclipse IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yeah, you are right. Keep things as simple as possible.

Thanks a lot for the encouragement, friend. We'll definitelly grab a beer as soon as we are both SCJDs!

But tell me... what do you plan to do next? SCEA? Whatever it is, I know you will do very well, and I wish you the best of luck in the world!!!
 
John Donoghue
Ranch Hand
Posts: 45
IntelliJ IDE Mac OS X Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Congratulations! Great score.
 
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Posts: 4968
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Congratulations!!!

-Cameron McKenzie
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic