Win a copy of The Business Blockchain this week in the Cloud forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Passed 137/139 ;)

 
Rommel Carvalho
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everyone!
First I would like to thank you all for all the help!!! I would not be able to pass, at least not in +- 3 weaks, without your help!
I did not post too many topics but I read over and over a lot of topics already posted !
You must be curious of why I put 137/139 and here is the answer:
I received today the good news that I passed in SCJD2. I am really glad. But I am confused´┐Ż I received the following explanation:
Grade:P
Score:137
Comment:This report shows the total points that could have been awarded in each section and the actual number of points you were awarded. This is provided to give you per-section feedback on your strengths. The maximum possible number of points is 155; the minimum to pass is 124. Section Summary Report: General Considerations: Maximum=58 Deductions=0 Actual=58 Documentation: Maximum=20 Deductions=0 Actual=20 GUI: Maximum=24 Deductions=16 Actual=8 Server: Maximum=53 Deductions=0 Actual=53 Total: Maximum=155 Deductions=18 Certifications Score=137
As you can see the only deduction I got was 16 in GUI. If you add all my points or if you deduct 16 from 155, you get 139 and not 137! I do not know why on the total I have Deductions=18 if I only got 16 deduct from GUI. So, I know that it does not make that difference, but I do not know if I got 139 or 137 !!
I would like to discuss why my GUI was so bad later with you all. I really do not know why I got this score in GUI ! Anyway, I passed and I am really happy !!!
Thank you all one more time,
Rommel Novaes Carvalho
 
Nate Johnson
Ranch Hand
Posts: 301
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Rommel Carvalho:

I would like to discuss why my GUI was so bad later with you all. I really do not know why I got this score in GUI ! Anyway, I passed and I am really happy !!!
Thank you all one more time,
Rommel Novaes Carvalho

Can you say a bit about your GUI? What was the layout of it? What patterns did you use? Etc... This is the part that I am having the hardest time on... being from a web (not the visual part) background myself.
Thanks
 
Robin Underwood
Ranch Hand
Posts: 117
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Congratulations on your score, whatever it may be! It's kind of scary that Sun can't get the numbers to add up to 155. Just curious how long you had to wait after taking the exam.
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Congrats Rommel. Well done. It's also funny to look that in GUI it says deductions 16, then later on at the end it says deductions 18.
Tells us about Your GUI and where you might have lost points.
Also I need to move this to the Certification Results Forum.
Congrats again.
Mark
 
Valentin Crettaz
Gold Digger
Sheriff
Posts: 7610
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Great job Rommel
 
Rommel Carvalho
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everyone,
I found out why I lost 18 points in my GUI.
Here are their comments:
---
GUI does not have any way to browse to new database.
GUI does not have scrollable table.
GUI does not have a menu bar.
Great comments and lots of them in the code. Nice, well understood implementation.
---
I used MVC for my GUI Inerface.
I changed my Data (implements DataInterface) class, but have nothing in lock and unlock methods, only implemented in RemoteData.
I have a DataInterface, RemoteDataInterface(extends Remote and DataInterface), RemoteData(extends UnicastRemoteObject implements RemoteDataInterface, Unreferenced).
Also have DataInterfaceFactory(has methods getDataInterface(String dbname) and getDataInterface(String serverDNS, String port))
Also a ConnectionFactory (I bind this class to RMI) and a ConnectionFactoryInterface that has the getConnection() method.
I used LockManager to help the locking/unlocking process in RemoteData.
As you can see I used RMI. I also had my own TableModel.
Well, this is the abstract look of my implementation. If you want to know anything else just ask.
Thanks again you all,
Rommel
SCJP2, SCJD2
 
Nate Johnson
Ranch Hand
Posts: 301
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Rommel Carvalho:
Hi everyone,
I found out why I lost 18 points in my GUI.
Here are their comments:
---
GUI does not have any way to browse to new database.

I am not sure that I understand what you mean by your comment above... browse to a new database? Do you mean they took points away for not allowing a way for the user to change databases during the operation of the app?
Thanks
 
Gosling Gong
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Rommel Carvalho:

Great comments and lots of them in the code. Nice, well understood implementation.


Thanks, Rommel!
Could you share your commentation experience with us, what kind of comments did you have? what did they mean saying lot of them in the code?
You did very well in Server side, could you tell how you handle the Exceptions?
Thanks
 
Robin Underwood
Ranch Hand
Posts: 117
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I found out why I lost 18 points in my GUI.
Here are their comments:
---
GUI does not have any way to browse to new database.
GUI does not have scrollable table.
GUI does not have a menu bar.
Great comments and lots of them in the code. Nice, well understood implementation.
---

Taking 18 points off seems really harsh to me. The menu bar and allowing database change aren't even part of the requirements. A scrollable table would be needed for a large database, but is only a couple lines of code.
 
Mike Piotrowski
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Robin,
I believe the menubar is part of the requirements. Under marking criteria it states:
layout uses good/accepted Human/Computer Interaction (HCI) principles.

Most all applications have menu bars, even though the only functions my menubar used was File/Exit and Help. Only my opinion though, but I think thats where they are coming from. Not sure what they mean by the database comment and 18 points does seem a bit harsh.
Mike
 
Rommel Carvalho
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I thought that 18 points was too much also. But that is what they sent me when I asked what I did wrong in my assignment.
Well I think that the database thing is that I used DataInfo and FieldInfo in my FBNTableModel and in my GUI class instead of using String. So if they want to use my GUI with another database they will not be able to because it is needed the DataInfo and FieldInfo classes. Well, I think that is what they meant. If I am too confusing in my explanation please ask.
My comments in the code (the one that is not JavaDoc, that is inside the method) were something like this:

and also:

I did not comment obvious things that is well understood when you read the code.
As the menu bar I thought that it was not necessary, and the scrollable table I thought I had implemented but I think I forgot because of some modifications I made !
Well, any more questions just ask.
Thanks,
Rommel
SCJP2, SCJD2
 
Rommel Carvalho
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You did very well in Server side, could you tell how you handle the Exceptions?

I handled most of my exceptions in my Controller class showing the client messages that he can understand, for example:
"You have to select one flight to book seats. Please try again."
and:
"Error searching for flight: \n"
Besides the Controller I handled in my FBNClient and FBNServer class when trying to start server and client.
I used JOptionPane to show the messages but I have friends that used System.err and got 100% in exceptions also.
Rommel
SCJP2, SCJD2
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic