• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

SCJD 370/400

 
Ranch Hand
Posts: 232
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 264
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Congratulations Hummel!
 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
that's great! Congrats
 
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Cool! You deserve it!
 
Ranch Hand
Posts: 10198
3
Mac PPC Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Congrats!
 
Ranch Hand
Posts: 99
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Congratz Hummel! a well deserved success!
 
Ranch Hand
Posts: 447
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Congrats...

It's a nice socre.


Thanks

Anil Kumar
 
Ranch Hand
Posts: 1585
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Congrats
 
Ranch Hand
Posts: 145
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Well done Lucy. Congratulations!!!
 
Ranch Hand
Posts: 652
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Congrats
 
Nik Arora
Ranch Hand
Posts: 652
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Congrats
 
Ranch Hand
Posts: 92
Android Eclipse IDE Suse
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I'm glad for you Lucy.
You were indeed a ranch hand on this forum!
 
Ranch Hand
Posts: 329
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 288
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Lucy for reply.
 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 290
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Congratulations!








-srinivas
 
Ranch Hand
Posts: 3389
Mac MySQL Database Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Congratulations Lucy Hummel
 
We should throw him a surprise party. It will cheer him up. We can use this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic