Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Passed SCJD with 367/400

 
Jeroen Kema
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everybody,

Today I received a message that I've passed my SCJD with the score of 367/400

General Considerations (maximum = 100): 99
Documentation (maximum = 70): 70
O-O Design (maximum = 30): 30
GUI (maximum = 40): 31
Locking (maximum = 80): 80
Data store (maximum = 40): 40
Network server (maximum = 40): 17

I already new I would have some penalty points on my GUI, because I was forgotten to use SwingUtilities.invokeLater for invoking my service layer which resides on the server. This will cause a frozen user interface when the connection is very poor. That's why I have 31 points out of 40, which is more than I expected actually.

The reason why I've only got 17 points out of 40 on my network server is very strange to me and not expected. I used RMI for my network layer and I thought it was designed properly enough. I'm sure I haven't forgotten generating the rmi stubs. It's really a shame Sun doesn't give some feedback about the scores, because I'm very curious why I have such a poor score on my network server..

Anyway, after all I've passed my SCJD, so it's time to start with the next one
 
Roberto Perillo
Bartender
Posts: 2271
3
Eclipse IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Howdy, Jeroen!

Congratulations, champ! The important thing is that now you are a SCJD!
 
Roel De Nijs
Sheriff
Posts: 10594
143
AngularJS Chrome Eclipse IDE Hibernate Java jQuery MySQL Database Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Jeroen,

Congratulations with a great score

Jeroen Kema wrote:
I already new I would have some penalty points on my GUI, because I was forgotten to use SwingUtilities.invokeLater for invoking my service layer which resides on the server. This will cause a frozen user interface when the connection is very poor. That's why I have 31 points out of 40, which is more than I expected actually.

I don't think that's the reason why you lost 9 points on your gui score, because I also didn't use it (not forgotten, just didn't know ). So I guess it's due to something else...

In your other thread you were thinking about implementing a system check. Did you do it or not?

Kind regards,
Roel
 
satishkumar janakiraman
Ranch Hand
Posts: 334
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Jeroen,

Congrats

sat
 
Jeroen Kema
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks all

Roel De Nijs wrote:Hi Jeroen,

Congratulations with a great score

Jeroen Kema wrote:
I already new I would have some penalty points on my GUI, because I was forgotten to use SwingUtilities.invokeLater for invoking my service layer which resides on the server. This will cause a frozen user interface when the connection is very poor. That's why I have 31 points out of 40, which is more than I expected actually.

I don't think that's the reason why you lost 9 points on your gui score, because I also didn't use it (not forgotten, just didn't know ). So I guess it's due to something else...

In your other thread you were thinking about implementing a system check. Did you do it or not?

Kind regards,
Roel


Yes, I implemented some sort of optimistic locking. The interface of my book method is: HotelRoom book(HotelRoom hotelRoom, String customerId). The hotelRoom object is the original hotelroom that was recieved from the server. When booking a hotelroom, I pass the original hotelroom and the customer ID to the service layer. This layer checks if all fields of the hotelroom object are exactly the same as the one that resides in the data file. If there is a difference between them, I abort the update action and throw a checked exception with a message something like 'hotel room not up to date, please refresh you results'.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic