aspose file tools*
The moose likes Certification Results and the fly likes Passed SCJD with 367 / 400 (91,7%) 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 367 / 400 (91,7%)" Watch "Passed SCJD with 367 / 400 (91,7%)" New topic
Author

Passed SCJD with 367 / 400 (91,7%)

Robert Bar
Ranch Hand

Joined: Jun 29, 2006
Posts: 38
Hi!

General Con: 100 93
Documentation: 70 65
OOD: 30 30
GUI: 40 29
Locking: 80 80
Data Store 40 30
Network Server: 40 40
Total: 400 367

I've worked on URLyBird 1.3.1
My GUI was developed according to L&F Design Guildlines, so I'm a little disappointed with my GUI score.

My project metrics:

lines of code: 4200 (gui:2500, db:750, business logic: 750, network: 200)
number of classes: 55 (gui: 30, db:13, business logic: 9, network: 3)
method lines of code: 2750 (gui: 1500, db: 650, business logic: 500, network: 100).

total effort: 120h, duration: 6 weeks. (documentation: 40h, coding, reading this forum: 80h)

best regards,
Robert
Daniel Dalton
Ranch Hand

Joined: Mar 20, 2005
Posts: 146
Congratulations - nice score - that's a lot less time than it took me!
Robert Bar
Ranch Hand

Joined: Jun 29, 2006
Posts: 38
Hi,

I was determined to finish my assignment before 31 Aug. because of the vourcher's deadline (I started in the middle of July ). Normally I develop Swing applications, so there was no effort spent on learning Swing mechanics and gui guidelines.

BTW: I wrote various testcases for Data class to be more courageous during refactoring. I used Eclipse with checkstyle and findbugs plugins installed.

A big thank you to all who helped me out with their posts and suggestions!

best regards,
Robert
wise owen
Ranch Hand

Joined: Feb 02, 2006
Posts: 2023
Congratulations!
Mihai Radulescu
Ranch Hand

Joined: Sep 18, 2003
Posts: 916

Congratulations, nice score .
About your GUI score, did you consider the

Your user interface should be designed with the expectation of future functionality enhancements, and it should establish a framework that will support this with minimal disruption to the users when this occurs.

statements ?
Can you detaliate a little bit your UI

Regareds M.


SCJP, SCJD, SCWCD, OCPJBCD
Robert Bar
Ranch Hand

Joined: Jun 29, 2006
Posts: 38
Hi,

My client-gui has following structure:

- menu bar (File: Connect, Disconnect, Exit; Edit: Book, Find (All, By Criteria in submenu), Refresh; Help: Contents)
- tool bar (24x24 icons)
- table (ascending alphab. sorting, sorting column header is bold)
- status bar (connection status or last operation status)
- find dialog
- book dialog
- connection dialog (polymorphic)
- progress dialog for long running tasks
- help in separate frame

BTW: can I upload screenshots here?

Regarding to the functionality enhancements:

- I couldn't imagine what kind of framework gui should establish. What does 'framework' mean for them?
- I didn't know how to measure/qualify disruption to the users. What does it mean, when someone says that disruption is minimal? Ultimately, what is 'disruption'?
- Must this disruption be minimal to the clients of the system, or to the users of the library?

Because of this problems, I can't be sure that I've achieved the aim of providing mentioned 'framework'.

regards,
Robert
Mihai Radulescu
Ranch Hand

Joined: Sep 18, 2003
Posts: 916

Hi,Robert
1.For the screenshots you can use the
http://photobucket.com/
2.about the UI workframe I start a new thread, tahe a look at :
http://www.coderanch.com/t/188594/java-developer-SCJD/certification/GUI-framework-comments-opinions-please

Regards M.
[ September 21, 2006: Message edited by: Mihai Radulescu ]
Mike Tilling
Ranch Hand

Joined: Feb 17, 2006
Posts: 86
Congratulations Robert

I wonder if you can help me with this :

-It is indicated in my assignment "All configuration must be done via a GUI, and must be persistent between runs of the program. Such configuration information must be stored in a file called suncertify.properties which must be located in the current working directory."

In my implementation, if the user change the working directory, suncertify.properties file will be recreated from scratch, all the properties stored in the suncertify.properties file when working in the old directory will be lost. Does this fit with the exam spec?

in other words :
-Is it required to keep the same suncertify.properties file even when the user changes the working directory?

Best Regards
Robert Bar
Ranch Hand

Joined: Jun 29, 2006
Posts: 38
Hi,

Originally posted by Mike Tilling:

In my implementation, if the user change the working directory,


Can you tell me, when/how does the user change the current working directory? Can I assume it's done before application starts?

Originally posted by Mike Tilling:

in other words :
-Is it required to keep the same suncertify.properties file even when the user changes the working directory?


It's not required to keep the same file, because using Properties API, it is extremely difficult to backup a user's preference data. Just think about the problem of remembering a path to the last current directory. The only thing you can do, is to inform the user about the issue (in help file?).

There is a better solution than using properties API - preferences mechanism. Maybe you can mention about this solution in your choices.txt.

regards,
Robert
Mike Tilling
Ranch Hand

Joined: Feb 17, 2006
Posts: 86
Robert,

Is it required to keep the same suncertify.properties file even when the user changes the working directory?

In my implementation :

the settings are persistent in the working directory, so the user doesn't need to retype his settings the next time the app is launched again from the SAME (!!!) working directory. but if the user changes the working directory, he will have to retype all the settings for the first time the application is launched in this new directory.

did you have this requirement in your assignement ?
"All configuration must be done via a GUI, and must be persistent between runs of the program. Such configuration information must be stored in a file called suncertify.properties which must be located in the current working directory."

I will be happy if you had the same spec, and you did not manage to move the same suncertify.priperties file between the directories if changed by the user.

Best Regards
Robert Bar
Ranch Hand

Joined: Jun 29, 2006
Posts: 38
Mike,

- yes, I had the same requirement.

- You met the mentioned requirement, so don't worry. Just document the issue.

regards,
Robert
Mike Tilling
Ranch Hand

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

Could you please look at these :

1- 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."

In my implementation:

- On a create operation, I choose to provide all values except the customer,
I suppose the newly created record is for future booking purpose.

- The record is ready for booking if date is today (the record is available for today)tomorrow or after tomorrow regardless of what does the owner field contain.

I am worried about this spec about the field owner "If this field (owner)
is all blanks, the record is available for sale". In my implementation the booking system is based on the record availability and not on the content of the owner field.

Do I fit with the exam spec?


2- When I run javadoc the resultant documentation contains comments of the classes members but it does not include the classes comments. For example

/**
* class comment
*/
public class ClassExample {

/**
* method comment
*/
public methodExample {
int a = 1+2;
}
}


When I run javadoc tool I obtain an html file that contains the methodExample comment but it does not contain the ClassExample comment.

How can I use javadoc so that the resultant html files include the class comments? does your javadoc documentation include the classes comments?

Best Regards
Robert Bar
Ranch Hand

Joined: Jun 29, 2006
Posts: 38
1. it looks not good to me. Sorry, I can't tell you more. I don't want to take fun out of developing.

2. see following documents:

- how to write doc comments.

- requirements for writing API specifications

regards,
Robert
ken bonzo
Greenhorn

Joined: Oct 11, 2006
Posts: 11
Congratulations Robert

How did you recover the InterruptedException?
do we have to? I do not call the Interrupt method at all

Regards
Robert Bar
Ranch Hand

Joined: Jun 29, 2006
Posts: 38
Originally posted by ken bonzo:

How did you recover the InterruptedException?
do we have to? I do not call the Interrupt method at all

Regards


There are several possibilities to handle this problem: (1) eat exception, (2) throw runtime exception, (3) throw exception with higher level of abstraction, (4) start contigency action etc.

I didn't developed any contingency plans for such exceptions, so I had to consider (1), (2) or (3).


regards,
Robert
Barry Gaunt
Ranch Hand

Joined: Aug 03, 2002
Posts: 7729
Time to move to Sun Certification Results...


Ask a Meaningful Question and HowToAskQuestionsOnJavaRanch
Getting someone to think and try something out is much more useful than just telling them the answer.
 
 
subject: Passed SCJD with 367 / 400 (91,7%)
 
Similar Threads
Passed 397/400
Passed with 391/400
SCJD 367/400
Passed SCJD with 361/400
Passed SCJD 366/400