GeeCON Prague 2014*
The moose likes Certification Results and the fly likes Passed SCJD with 390 / 400 (97,5%) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Certification » Certification Results
Bookmark "Passed SCJD with 390 / 400 (97,5%) " Watch "Passed SCJD with 390 / 400 (97,5%) " New topic
Author

Passed SCJD with 390 / 400 (97,5%)

Ales Moukhine
Greenhorn

Joined: Jul 03, 2006
Posts: 20
Hi,
This is one of the better news I receive last time

The maximum number of points is 400, to pass you need a score of 320. Section Summary: Section Max Actual
General Con: 100 90
Documentation: 70 70
OOD: 30 30
GUI: 40 40
Locking: 80 80
Data Store: 40 40
Network Server: 40 40
Total: 400 390

Thanks All of YOU on this forum, for answering questions
And good luck - who wait for results !!

Best regards
Ales Moukhine
SCJP, SCJD
Mike Tilling
Ranch Hand

Joined: Feb 17, 2006
Posts: 86
Congratulations Ales,

Could you please look at this issue:

It is indicated in the assignment (UrlyBird) :
"They take bookings only within 48 hours of the start of room occupancy"

It also describes the field owner as follows:
"If this field is all blanks, the record is available for sale"

It describes the date field as follows:
"Date available : The single night to which this record relates, format is yyyy/mm/dd."


1- What do you provide as parameters when booking the selected record?

I will implement the booking method as follows (Thanks to Edwin Advice):

-On a create operation, I will provide all values including the customer

-The room can be booked if the owner is not empty regardless of what the date (available date) is. If the date is 10/10/2005 (one year ago) and the owner is not empty then the room can not be booked, what the user should do is to unbook the room to reset the owner into blanks or reaffect it to an other customer, the unbook reset the owner regardless of the date value.

in other words :

The booking request will be accepted if (date is today and owner is empty)
Or (date is tomorrow and owner is empty) or (date is after tomorrow and owner is empty).

2- Will this fit with the exam spec?

3-If date is after today +48 hours and the owner is empty, will the room be ready for booking?

Best Regards
Bod Toki
Ranch Hand

Joined: Sep 01, 2006
Posts: 95
Congratulations. Almost perfect. Good job.

-I'm kind of particular about the Documentation section. (I hate documenting). Please any words on Documenting? How did you deliver your User documentation? and can you please post a sample of your Design Choices file?
Thanks. (hope i'm not asking for too much).
Roy Mallard
Ranch Hand

Joined: Jul 14, 2005
Posts: 53
Wow this is the first time I have seen 40/40 for the GUI.
Could you please describe your client GUI and server GUI?


SCJP 1.4<br />SCJD
Ales Moukhine
Greenhorn

Joined: Jul 03, 2006
Posts: 20
Hi
Thanks for congratulations!!
First, few choices:
- Three-layer architecture (Model (Data) layer, Service (Business) layer, View (User interface)
- Business layer placed at server side
- Separate packages for Client and Server UI
- Provide Common package with common components and utilities
- Provide common UI components: AbstractConfigWindow, ClientMenu,
ConfigParamsValidator, StatusBar, Utils
- Provide 3 configuration windows: for server, client alone, client remote
- For server configuration window is main window, after pressing "start" button is disabled.
- One main window for clients, wich has separate dialog for search and booking
- Main window has menu, status bar with info about how many records has been readed, buttons for operations (get all, search, booking, exit) and checkbox "show only with 48h rule" wich is enabled by default.


Few words about documenting,
- JavaDoc
- Comments in code for all methods, and almost all class attributes, some time coments in code
- User help inside application, called from menu Help->help. Writed as simple html file
- design choices (only 8kb of text) has this structure:
1. General choices.
1.1. Design Patterns used.
2.Model layer.
2.1. Lock Manager.
2.2. DB functionality.
3.Service layer.
4. View layer.
4.1. Common Components.
4.2. Client View.
4.3. Server View.
5. Exception Handling.

I thing this information will be helpfull for You

Regards
Ales'
Ales Moukhine
Greenhorn

Joined: Jul 03, 2006
Posts: 20
Hi Mike.
Originally posted by Mike Tilling:

1- What do you provide as parameters when booking the selected record?

I will implement the booking method as follows (Thanks to Edwin Advice):

-On a create operation, I will provide all values including the customer

-The room can be booked if the owner is not empty regardless of what the date (available date) is. If the date is 10/10/2005 (one year ago) and the owner is not empty then the room can not be booked, what the user should do is to unbook the room to reset the owner into blanks or reaffect it to an other customer, the unbook reset the owner regardless of the date value.

in other words :

The booking request will be accepted if (date is today and owner is empty)
Or (date is tomorrow and owner is empty) or (date is after tomorrow and owner is empty).

As a parametr to my business code I provide 'customer code' only.
I did validation only on UI, booking request will be accepted if customer code will not be empty.
But if i try to book a record which is already booked, i throw an exception from Model layer.


3-If date is after today +48 hours and the owner is empty, will the room be ready for booking?


Yes, in my implementation you can book this record.

Regards.
Ales'
[ October 11, 2006: Message edited by: Ales Moukhine ]
Mike Tilling
Ranch Hand

Joined: Feb 17, 2006
Posts: 86
Thanks Ales,

does your assignment have this spec

"They take bookings only within 48 hours of the start of room occupancy" ?


Is the date field described as follows
"Date available : The single night to which this record relates, format is yyyy/mm/dd" ?

I see that you did not take date in consideration, if the owner is empty than you book the record, what if the date is not within the next 48 hours?

-when you book the record, you only provide the custoner ID, what about the new value for the date field, do you keep the same date for ever?

Regards
wise owen
Ranch Hand

Joined: Feb 02, 2006
Posts: 2023
Congratulations!
Ales Moukhine
Greenhorn

Joined: Jul 03, 2006
Posts: 20
Hi Mike,

Originally posted by Mike Tilling:

does your assignment have this spec

"They take bookings only within 48 hours of the start of room occupancy" ?

Yes, it has.


Is the date field described as follows
"Date available : The single night to which this record relates, format is yyyy/mm/dd" ?

Exactly.


I see that you did not take date in consideration, if the owner is empty than you book the record, what if the date is not within the next 48 hours?

I also book the record if the date is not within the next 48 hours.
User on UI can choose wich records He/She what to see.


-when you book the record, you only provide the custoner ID, what about the new value for the date field, do you keep the same date for ever?

Yes, in DB I has each record for each day, so I only change the customer field when book.

Regards.
Ales'
ken bonzo
Greenhorn

Joined: Oct 11, 2006
Posts: 11
Congratulations Alles

How did you recover the InterruptedException, do we have to?

Regards
Joe Zhou
Ranch Hand

Joined: Oct 18, 2006
Posts: 34
Congratulations, Ales.
Juat a quick question, can you tell me long you choices.txt is? How many pages or how many lines? People say it should not be long. How long is 'not long'.

Thanks a lot.
 
GeeCON Prague 2014
 
subject: Passed SCJD with 390 / 400 (97,5%)