Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Why annotations and Dependency Injection are not part of SCJP 6 ?

 
aditee sharma
Ranch Hand
Posts: 182
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Both annotations and Dependency Injection are a major part of Java EE since Java 5.0 .
In fact, with Java 6, Dependency Injection implementation has moved much beyond merely injecting JNDI resources.
I wonder why these 2 important topics do not merit being part of the exam.
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Posts: 15214
36
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Because SCJP is about Java SE (Standard Edition), not Java EE (Enterprise Edition).

Dependency injection isn't (yet) part of the standard Java API. There are two JSRs about this: JSR-299 and JSR-330 which will likely be added in Java 7.

I don't know why annotations are not in; maybe Sun decided that's an advanced topic which you don't need to know for the SCJP exam.
 
Larry Chung
Ranch Hand
Posts: 247
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
aditee sharma wrote:Both annotations and Dependency Injection are a major part of Java EE since Java 5.0 .
In fact, with Java 6, Dependency Injection implementation has moved much beyond merely injecting JNDI resources.
I wonder why these 2 important topics do not merit being part of the exam.

I love using annotations and Dependency Injection but we should remember the old adage, "Be careful of what you ask for, because you might get it." If annotations are in the SCJP exam, the questions will be tough like other questions and the exam will be at least five questions longer. I am not in favor of a forever expanding certification exam. Some people will have a hard time catching up with new objectives.
 
Tales Souza
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Information:

JSR 175: A Metadata Facility for the JavaTM Programming Language

....
2.1 Please describe the proposed Specification:

There has been a growing trend towards annotating fields, methods, and classes as having particular attributes that indicate they should be processed in special ways by development tools, deployment tools, or run-time libraries. We call such annotations metadata.
....
2.2 What is the target Java platform? (i.e., desktop, server, personal, embedded, card, etc.)

Java 2, Standard Edition.
....

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic