I'm pleased with the score (especially that I managed to avoid the dreaded 44/80 on locking), no idea why I lost so many points on the GUI - I've done quite a lot of GUI design, and thought I would do ok in that section. I'm pleased to answer any questions about my submission. Thanks again to all the posters!
Joe Richard
Ranch Hand
Joined: Aug 15, 2001
Posts: 76
posted
0
Congratulation Robbie
What about the locking scared you?
Persistence equals goals
SCJD (In Progress), SCJP
sudhakar ananth
Ranch Hand
Joined: Feb 02, 2007
Posts: 68
posted
0
hello friends i have just completed my SCJP so can i any tell what should i do or prepare to get SCJD
Thanks to all bye
Khaled Mahmoud
Ranch Hand
Joined: Jul 15, 2006
Posts: 360
posted
0
Congratulations
SCJP, SCJD,SCWCD,SCDJWS,SCEA 5 MCP-C#, MCP-ASP.NET - http://www.khaledinho.com/ Life is the biggest school
Maurizio Nagni
Ranch Hand
Joined: May 29, 2004
Posts: 75
posted
0
GREAT! I hope to be the next one.... uff... documentation is so booring... but ok...ok... it is needed CONGRATULATION!
Thanks! To answer Joe - I've just read so many posts here about people getting 44/80 for locking, and no-one seemed to know the reason - I guess I got paranoid that I would fall into the same trap.
Ken Boyd
Ranch Hand
Joined: Dec 10, 2003
Posts: 329
posted
0
Congratulations!! well done.
Can you share your gui design in words so we know what want wrong? I am also doing testing and things looks good in locking department but if you have any test program you can post code here (Andrew said it is okay to post test code in one of the thread). Have you done data[] validation at server side? (or client side only). It will be nice if you can share little bit of design choice e.g. some text from choice.txt.
Well done and enjoy
Thanks [ April 18, 2007: Message edited by: Ken Boyd ]
SCJP, SCWCD, SCBCD, SCJD, BB Java2 and JSP1.1
robbie smith
Greenhorn
Joined: Apr 29, 2005
Posts: 7
posted
0
I've been thinking about what could have let me down on the GUI front - I don't think it could have been the actual search screen: I used JTable as instructed, table columns were sortable, I used dropdown lists for the available hotels/locations (rather than textfields), validation on the booking number field (digits only), and i spent time making sure it all resized nicely, tooltips on all the fields, built-in user help screens, menu bar etc. I think the problem was either: 1) I used a configuration dialog which appeared when the user started the app, displaying the current parameters - the user could either accept the values, or enter new ones, then click OK and be taken to the main search screen - maybe they didn't like the fact that you always have to click through this dialog before getting to the search screen? 2) The server had no GUI (after the config dialog) - I just displayed a message via standard-output (ie. in the console window) saying the server was running, and to press ctrl-c or type 'stop' to stop the server. I really didn't see the point of having a GUI with a single 'stop' button on it, but maybe the examiner didn't agree!
I will try to dig out some locking test code, i did plenty of locking testing, probably the most useful was a test where i started hundreds of threads and had each one increment the value of a field in a single record in the db multiple times, at the end of the test i checked that the value of the field was what i expected (eg. 200 threads, each incrementing the value 100 times, the value should end up at 20,000 - if its less then there is a locking problem).
Validation of the data array was all server-side because I used a bean class to send data from the client to the server, but there was some client-side validation as well (eg on customer/booking number) to prevent unnecessary calls to the server.
chris bajada
Ranch Hand
Joined: Oct 16, 2006
Posts: 41
posted
0
Hmmm dammit... my GUI design is almost the same as yours (but mine uses textfields instead of combos for the searches)... whatever it'll stay as it is.
As regards the documentation, what does one have to do to obtain the full marks as robbie did ?
How much is approximately required in the choices.txt ?