File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

B&S 2.2.2 : 388/400 !!!!

 
david boureau
Greenhorn
Posts: 17
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Youhouhouh!!! I did it!! passed my SCJD with 388/400 !! I lost points only on my GUI : 28/40, I don't really know why but it is of no importance. It's the end of a long, long work, a special thanks to roberto perillo who reassured me on key point every time I needed it. For the info, I totally missed a question of the assignment, aswering exactly the contrary of what I programmed, but fortunately the three others questions where correctly justified. Pfew....
 
Roel De Nijs
Sheriff
Posts: 9110
75
AngularJS Chrome Eclipse IDE Hibernate Java jQuery MySQL Database Spring Tomcat Server
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
David,

Congrats! Great score

I guess you used at least jdk 1.5. Did you used RMI for the network? If so, did you compile your stubs with rmic?

Kind regards,
Roel
 
david boureau
Greenhorn
Posts: 17
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I used jdk 1.6. Yes I did generate the Stub via rmic. I logged with a System.out.println to check that my Stub was really used by the application, else with jdk 1.6, if you did not generated correctly the stub or if there is none, there will be no error : the jvm creates it dynamically for you. Kind of magic. But not allowed by the exam. Once I ensured that my Stub class was used and not an automatically generated, I removed the System.out.println.

I don't know if I am allowed to describe how I handled exception and errors in my programm. Someone told me via PM how I did it, but if I'm allowed to, I will be glad to explain.

Best regards,

David.
 
Roel De Nijs
Sheriff
Posts: 9110
75
AngularJS Chrome Eclipse IDE Hibernate Java jQuery MySQL Database Spring Tomcat Server
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi David,

I know according to the assignment it is not allowed to use the magic from happening with jdk 1.5 or 1.6 and automatically creating those stubs. But there are people that also used the same jdk and didn't used rmic, and passed anyway. So just interesting in what you did, because i'm close to finishing and that's a point where i'm still in a doubt

Kind regards,
Roel
 
Andrew Monkhouse
author and jackaroo
Marshal Commander
Pie
Posts: 11833
181
C++ Firefox Browser IntelliJ IDE Java Mac Oracle
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
david boureau wrote: I don't know if I am allowed to describe how I handled exception and errors in my programm


As long as you keep it relatively generic, you can certainly discuss how you handled exceptions and errors.

Congratulations on passing.
 
Roberto Perillo
Bartender
Posts: 2271
3
Eclipse IDE Java Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Howdy, my good buddy David!

Partner, all I can tell you is that I am really really really happy for you! And I am also very very glad that I was able to help you!!!
It was a great score! Congratulations, my friend!!!
 
Liviu Carausu
Ranch Hand
Posts: 159
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
david boureau wrote:Hi,

I used jdk 1.6. Yes I did generate the Stub via rmic. I logged with a System.out.println to check that my Stub was really used by the application, else with jdk 1.6, if you did not generated correctly the stub or if there is none, there will be no error : the jvm creates it dynamically for you. Kind of magic. But not allowed by the exam. Once I ensured that my Stub class was used and not an automatically generated, I removed the System.out.println.

I don't know if I am allowed to describe how I handled exception and errors in my programm. Someone told me via PM how I did it, but if I'm allowed to, I will be glad to explain.

Best regards,

David.


Hi David,
Congratulations for your great score !

Should I understand that you have delivered also the source files for the stubs classes ?

Thanks,

Liviu
 
david boureau
Greenhorn
Posts: 17
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you Andrew. And thanks for your book also, it was very helpful, as if my instructions have nothing to do with the one in the book, it gives a good idea of what to do. I will post something about error handling in a more appropriate post.
 
Bert Bates
author
Sheriff
Posts: 8898
5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Congrats David,

off to the results forum...

Bert
 
Juee Doo
Ranch Hand
Posts: 232
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
congrats!
 
Roel De Nijs
Sheriff
Posts: 9110
75
AngularJS Chrome Eclipse IDE Hibernate Java jQuery MySQL Database Spring Tomcat Server
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi David,

I had another small question: how did you handle a possible InterruptedException (when using wait/notify/notifyAll)? and did you mention something about the handling in your choices.txt?

Kind regards,
Roel
 
arulk pillai
Author
Ranch Hand
Posts: 3380
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Congrats
 
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Posts: 4968
1
Hibernate Spring Tomcat Server
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Congratulations!

-Cameron McKenzie
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic