• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

URLyBird 1.3.1 - Passed - 339

 
Leo Ho
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I passed...

General Con: 100 83
Documentation: 70 60
OOD: 30 30
GUI: 40 26
Locking: 80 80
Data Store: 40 40
Network Server: 40 20
Total: 400 339


Not so happy about the score though, especially in the Network Server

Some notes about my solution:
- 3-tier RMI architecture - not sure I'm reduced in the server code or in the RMI code or elsewhere
- A simple server-side locking solution, e.g. client code does not lock/unlock, which has a hashtable to keep track of owners and locked records
- Simple GUI, nothing fancy like sorting, filtering etc. just enough to get the job done and the booked record highlighting feature (maybe that's why I've only got 26 )
- I wrrote a lot of documentation in code, user guides, and design notes (~800 lines)

Thanks for all you guys in the SJCD forum since I learnt a lot here - I would have had a much more hard time without the posts found in this forum. Best wishes to those who are already submitted or about to submit their assignments!!!

Leo
 
Anton Golovin
Ranch Hand
Posts: 530
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Congratulations! To other developer test-takers I would recommend a similar approach to locking: server-side. You will save yourself a lot of headache.
[ June 07, 2006: Message edited by: Anton Golovin ]
 
Oricio Ocle
Ranch Hand
Posts: 284
Debian Firefox Browser Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Congratulations Leo!


800 lines!
 
B Chen
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Congratz
 
Bob Nedwor
hangman
Ranch Hand
Posts: 215
Eclipse IDE Oracle Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Congrats, Leo!! You are finished!!

So do you think that you will try the SCWCD exam next? or have you had enough for a while ?
 
Mihai Radulescu
Ranch Hand
Posts: 918
IntelliJ IDE Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Leo,

Congratulations, don't wory about the score !!!

Why so less on the server ? Do you have a shutdown feaure for your server ?
How about your find method(from Data) do you throw a RecordNotFoundException you return a empty array if no record are found?

Regards, Mihai
 
Leo Ho
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bob:

So do you think that you will try the SCWCD exam next? or have you had enough for a while ?

I don't plan to take SCWCD - I think I'd better spend time learning JSF/ADF stuff than going back to master JSP/Servlet . In addition, on the one hand I want to take the Architect exam, on the other hand, I hate EJB 2 I'd like to learn EJB 3 and lightweight frameworks - thus I think I will wait until the exam is upgraded.

In the mean time, I guess I'm going back to .NET and learn some new MS's certifications (upgrading exams for MCSD.NET)

Mihai:

Why so less on the server ? Do you have a shutdown feaure for your server ?
How about your find method(from Data) do you throw a RecordNotFoundException you return a empty array if no record are found?

I have a simple shutdown to gracefully close the data file and stop serving clients - but not using lock(-1)/unlock(-1) (that is once the server is closed, there is no way to re-activate it [s/t like unlock(-1)])

I throw RecordNotFoundException if no record is found (why should I do it differently then???)

Leo
 
Mihai Radulescu
Ranch Hand
Posts: 918
IntelliJ IDE Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Leo


I throw RecordNotFoundException if no record is found (why should I do it differently then??


if the search method returns a array (with result) is logic to return an empty array (or a null) if no records are found instead to throw an exception.

the same ideas are also in the :
http://www.coderanch.com/t/187109/java-developer-SCJD/certification/some-clarification-RecordNotFound-Exception

How you make the difference between records not found because are not in the database and records not found because the database server is down ? Different exceptions ?

Regards,
Mihai
[ June 08, 2006: Message edited by: Mihai Radulescu ]
 
Leo Ho
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

How you make the difference between records not found because are not in the database and records not found because the database server is down ? Different exceptions ?

Yes, a runtime exception is thrown if the server is down. I don't use RecordNotFoundException to wrap other errors. Do you mean that you throw RecordNotFoundException if the server is down, and return empty array if no record is found? If yes, then it seems not make sense to me. Anyway, do what you think reasonable and document it.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic