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

SCJD 370/400

 
Lucy Hummel
Ranch Hand
Posts: 232
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I submitted my assignment on 15-May-07, my questionare was on 18-May-07, my result are published today ( 25-Jun-07)

Here my result:

Section Summary:

Section Max Actual Points
Points General Con: 100 92
Documentation: 70 70
OOD: 30 30
GUI: 40 28
Locking: 80 80
Data Store: 40 40
Network Server: 40 30
=====================
Total: 400 370

Thanks for the great discussions I had this time!

Br, Lucy
 
Mohit Chadha
Ranch Hand
Posts: 264
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Congratulations Hummel!
 
Reet Goel
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
that's great! Congrats
 
chris bajada
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Cool! You deserve it!
 
Joe Harry
Ranch Hand
Posts: 10128
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Congrats!
 
Lorenz Baylon
Ranch Hand
Posts: 99
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Congratz Hummel! a well deserved success!
 
anil kumar
Ranch Hand
Posts: 447
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Congrats...

It's a nice socre.


Thanks

Anil Kumar
 
Vassili Vladimir
Ranch Hand
Posts: 1585
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Congrats
 
Gabriel Vargas
Ranch Hand
Posts: 145
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well done Lucy. Congratulations!!!
 
Nik Arora
Ranch Hand
Posts: 652
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Congrats
 
Nik Arora
Ranch Hand
Posts: 652
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Congrats
 
Romeo Son
Ranch Hand
Posts: 92
Android Eclipse IDE Suse
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I'm glad for you Lucy.
You were indeed a ranch hand on this forum!
 
Ken Boyd
Ranch Hand
Posts: 329
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Congratulations!!



Appreciate your input on many post...

Ken
 
Ken Boyd
Ranch Hand
Posts: 329
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Hummel Lucy:
Hi,

I submitted my assignment on 15-May-07, my questionare was on 18-May-07, my result are published today ( 25-Jun-07)

Here my result:

Section Summary:

Section Max Actual Points
Points General Con: 100 92
Documentation: 70 70
OOD: 30 30
GUI: 40 28
Locking: 80 80
Data Store: 40 40
Network Server: 40 30
=====================
Total: 400 370

Thanks for the great discussions I had this time!

Br, Lucy


Lucy,
Before you vanish from SCJD forum can you please tell me about exception message handling in Data class?
Now if Update or Delete method throws RecordNotFoundException did you re throw them in catch or just log it i.e. log.info? I mean if you re throw it direct test tool of Data class get this exception and stops the test. My GUI takes care of these exception differently i.e. displaying message according to exception in user friendly manner. But they don't come from Data class i.e. not propagated from Data to GUI level.

Thanks,
Ken
 
Lucy Hummel
Ranch Hand
Posts: 232
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ken,

You are right, I might vanish from the forum and start to dig in a new forum to learn new/differnt stuff.


So you stated that your test stops, if an exception is thrown.

I do not see the point. Junit can handle exception for example



The above test case only passes if RecordNotFoundException. In all other cases the test case fails.

How looks your test case to test RecordNotfoundException?

Br, Lucy
 
Mark Smyth
Ranch Hand
Posts: 288
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Congratulations Lucy very impressive score, I would take full marks on locking and the Data store over the GUI any day .

Mark. :
 
Ken Boyd
Ranch Hand
Posts: 329
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Lucy Hummel:
Hi Ken,

You are right, I might vanish from the forum and start to dig in a new forum to learn new/differnt stuff.


So you stated that your test stops, if an exception is thrown.

I do not see the point. Junit can handle exception for example



The above test case only passes if RecordNotFoundException. In all other cases the test case fails.

How looks your test case to test RecordNotfoundException?

Br, Lucy


Hi Lucy,
My main question is how do you handle RecordNotFoundException in Data class

i.e.



method Update(recNo, cookie){
// check cookie is correct then check if record is still valid
try {
// now record is deleted by other client before this client gets the lock to update it
if (recNo == 1){
throw new RecordNotFoundException("error message");
}
} catch (RecordNotFoundException roe){
log.info(msg);
throw new RecordNotFoundException(msg);
// Lucy what you do here log the exeception or re throw it
// since it is business level exception not going to stop application
}
}




My test code is same as above you stated but if I re throw RecordNotFoundException again then it will stop but just logging the message works fine.


Thanks,
Ken
[ June 27, 2007: Message edited by: Ken Boyd ]
 
Lucy Hummel
Ranch Hand
Posts: 232
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ken,

In case you want to just show the record in the tabular, or a find is runnin, then I did just logging.

In case the client GUI shows old data, and the client selects the record to book it, a window opens to tell the client:
Upps, sorry! The record is vanished.

Is that what you requested.

Because of personal problems, I can not answer the next two weeks any questions.

Sorry, CU in weeks.
 
Lucy Hummel
Ranch Hand
Posts: 232
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Mark,

One point to you.

After some time I came to the conclusion why I lost so much point in the GUI part.

In case the client wants to exit the application or book a record, always a window pops up that asks

Do you really want to do tha???

I think that is the reason why I lost points. But you know, nobody is going to tell me the reason.

Br,
 
Ken Boyd
Ranch Hand
Posts: 329
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Lucy for reply.
 
TomTom Lee
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you serious? I got the exact same score with the exact same breakdown, too. They must have some kind of grading template where they take off a set amount of points for certain mistakes. We must have made the exact same kind of mistakes. Strange.
 
srinivas marasu
Ranch Hand
Posts: 290
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Congratulations!








-srinivas
 
Raghavan Muthu
Ranch Hand
Posts: 3381
Mac MySQL Database Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Congratulations Lucy Hummel
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic