Sign up ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free.

I read through Kathy Sierra's SCJP study guide and I will read it again more thoroughly to improve myself as a Java programmer and be able to take the certification either Java 6 or wait for the Java 7 exam.

Now I wonder why reflection is not on the exam? The book it seems covers everything that should be on the exam and AFAIK reflection is at least as important as threads if not more used in practice since many frameworks use reflection.

Do you know why reflection is not part of the SCJP?

Do you agree that it's at least important to know reflection as threads?

share|improve this question

put on hold as primarily opinion-based by MichaelT, Snowman, GlenH7, durron597, amon 1 hour ago

Many good questions generate some degree of opinion based on expert experience, but answers to this question will tend to be almost entirely based on opinions, rather than facts, references, or specific expertise.If this question can be reworded to fit the rules in the help center, please edit the question.

Reflection is not covered in the new Java 7 exam. I personally think it's an important topic. I also think that the new MethodHandles, MethodTypes and invokedynamic (that will in theory replace Reflection in a lot of cases) should also be covered. –  Martijn Verburg May 29 '12 at 11:57
That's news for me, I'm still studying Java 6. Thanks for the answer! –  Programmer 400 May 29 '12 at 16:29
Martijn: Reflection isn't in the objectives nor was it on the beta exam. (objectives:…) –  Jeanne Boyarsky Jun 4 '12 at 2:16
Raw threads are less important with the Concurrent API introduced in Java 5 –  user1249 Jun 4 '12 at 5:55
@MartijnVerburg Your answer had very good information but I had to convert it to a comment because it didn't actually answer the OP's specific question. I hope you understand. –  maple_shaft Jun 16 '13 at 13:42

1 Answer 1

up vote 6 down vote accepted

Yes, the book covers all the topics on the exam. While I use reflection more than threading, I don't think one is inherently more important than the other. I also think there is more conceptually to understand with threading so it doesn't bother me they didn't include it on the exam.

What you say about frameworks using reflection is true and I think that is part of the reason. Almost all my uses of reflection were writing framework code or advanced unit tests (check X happens when I add a field.) The OCJP is supposed to be an exam for those new to Java. And new developers aren't writing the Spring framework; they are using it.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.