Woo & yay, after initially getting a rather confusing result on the website (384/400, but a grade of F), Sun have confirmed that I've passed.
Max marks on everything except for the GUI, where I got 24/40. Not too fussed about that - it was a bit ugly, but I lost patience after working on this thing for far too long (on and off - mostly off! - since Sept '07).
Happy to answer design questions if anyone has one...
btb, can you tell me why you have lost points in GUI? I see, most of the ranchers loosing points in UI Section
Joined: Jun 16, 2008
My GUI wasn't polished, because I just came to a point where I just wanted to submit rather than spending more time on it.
Some things I might've lost points for (they don't tell you, so this is guesswork): 1. Not using separate threads for non-trivial actions triggered by button clicks. For instance, where a button click results in an RMI call to the server, this should be in a separate thread, so the GUI remains responsive. 2. Everything was centred. Looked a bit weird. Just a result of me giving up after struggling to make AWT/Swing behave itself... 3. You could argue that having a popup booking/unbooking dialog is actually less maintainable than simply letting the user type in bookings into the JTable directly - the obvious future expansion would be to allow users to change other column values (e.g. change # staff for a particular contractor); having a dialog for bookings sets a precedent whereby each such action requires a dialog.
It wasn't horrific, though... some GUI features I did implement: 1. splash screen (new feature of Java 6; splash screen is loaded before the JVM) 2. Tooltips. 3. Everything could be done from the keyboard. 4. Sensible restrictions on field input as you type - you were prevented from typing anything other than a number in the range 0-65535 in the port field, or something roughly resembling an IP or hostname into the hostname field.
I think it's easy to go overboard with this assignment (I'm guilty of this). The 80% pass mark sounds daunting, but the marking is generally not so harsh. You can afford to drop a few points here and there so long as the requirements are met.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com