• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Passed SCJD with 367/400

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Bartender
Posts: 2292
3
Eclipse IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Howdy, Jeroen!

Congratulations, champ! The important thing is that now you are a SCJD!
 
Sheriff
Posts: 11604
178
Hibernate jQuery Eclipse IDE Spring MySQL Database AngularJS Tomcat Server Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 334
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Jeroen,

Congrats

sat
 
Jeroen Kema
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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'.
 
reply
    Bookmark Topic Watch Topic
  • New Topic