Spring Core
The objective for the JavaBlackBelt Spring Core Exam is simple: understand and be able to apply everything explained in chapters 3, 4 and 5 of the Spring 2.0 reference documentation
. Other aspects of Spring will be covered on separate exams (AOP, DAO, MVC,...).
While we don't especially agree with its structure, the document is written well, complete and available to everyone.
This is equivalent to the book Professional Development with the Spring Framework, chapters 2 and 3. Small portions of the objectives can be taken outside one of these two sources (or both).
For the objectives, we reordered the documentation topics, but the content can be easily found in the documentation
. The reordering eases the questions sorting in a structured tree of categories.
This JavaBlackBelt exam is an independent initiative and not connected to SpringSource.
References:
- http://www.springframework.org/docs/reference/beans.html
- http://www.springframework.org/docs/reference/resources.html
- http://www.springframework.org/docs/reference/validation.html
- Professional Java Development with the Spring Framework, Wiley, 2006
- Spring in Action, Manning, 2005
Need help passing this exam? Check out our Coached e-Learning Spring Fundamentals course
.
| Released | Beta | Frozen | ||
|---|---|---|---|---|
BeanFactory & ApplicationContext
BeanFactory, ApplicationContext, SingletonBeanFactoryLocator, Container Awareness, FactoryBean.
|
|
|||
BeanFactory 4 questions
|
3 | 25 | 28 | |
ApplicationContext 2 questions
|
5 | 14 | 8 | |
SingletonBeanFactoryLocator 1 question
Write code that make basic use of the SingletonBeanFactoryLocator or the ContextSingletonBeanFactoryLocator classes.
Not covered: EJB specific examples and scenarios. |
1 | 5 | 7 | |
Container Awareness 1 question
Use the BeanFactoryAware and the ApplicationContextAware interfaces.
|
2 | 13 | 6 | |
FactoryBean 3 questions
Write xml configuration fragment to get:
|
5 | 11 | 13 | |
Configuration Files
Main Structure, Beans Naming, Abstract and Child Bean Definitions, Multiple Bean Definitions Files, Properties, Other formats than XML.
Not covered: extensible XML authoring. |
|
|||
Main Structure 1 question
|
3 | 17 | 5 | |
Beans Naming 2 questions
Properly use the bean identifiers:
|
3 | 37 | 2 | |
Child Bean Definitions 1 question
|
2 | 14 | 0 | |
Multiple Files 2 questions
|
2 | 15 | 3 | |
Properties 2 questions
|
2 | 1 | 10 | |
Other Formats 1 question
Write very basic code that use the PropertiesBeanDefinitionReader to read bean definitions from property files.
|
1 | 2 | 2 | |
Dependency Injection
Setter Injection, Constructor Injection, Values for Properties and Constructor Args, Lookup Method Injection, depends-on, Autowiring, Dependency Check
|
|
|||
General 2 questions
|
3 | 23 | 11 | |
Setter Injection 2 questions
|
3 | 9 | 4 | |
Constructor Injection 2 questions
|
7 | 3 | 7 | |
Properties and Constructor Args 4 questions
|
12 | 20 | 28 | |
Lookup Method Injection 1 question
|
1 | 22 | 4 | |
Depends-on 1 question
Use depends-on attribute and identify cases where it should be used.
|
4 | 2 | 2 | |
Autowiring 2 questions
|
3 | 47 | 1 | |
Dependency Check 1 question
Identify the different dependency checking modes and the default mode.
|
1 | 6 | 6 | |
Lifecycle
Instantiation, Singleton vs Prototype, Initializing/DisposableBean, Bean(Factory)PostProcessor, Container Lifecycle, Bean Lifecycle
|
|
|||
Instantiation 2 questions
In a bean definition, set how a bean should be created (via constructor, via static factory method, via bean factory method).
|
4 | 17 | 7 | |
Initializing and DisposableBean 1 question
|
2 | 45 | 3 | |
Scopes 3 questions
|
3 | 29 | 10 | |
PostProcessors 1 question
|
0 | 35 | 2 | |
Container Lifecycle 2 questions
Know the container lifecycle sequence:
|
2 | 1 | 9 | |
Bean Lifecycle 2 questionsIdentify major events on a bean's life, and their order:
bean destruction begins (revert of init order)
Note: this objective is only about the sequence of the lifecycle, not about the details of each step which are actually covered by other objectives. |
3 | 15 | 9 | |
Misc
Low Level Resources, MessageSource, ApplicationEvent, PropertyEditor, BeanWrapper.
|
|
|||
Low Level Resources 3 questions
|
6 | 17 | 7 | |
MessageSource 2 questions
|
2 | 6 | 4 | |
ApplicationEvent 2 questions
|
1 | 9 | 3 | |
PropertyEditor 4 questions
|
2 | 7 | 13 | |
Exam information
- 85 minutes
- 57 questions (769)
- 70% required
- +9 √
- - 50 points
- 15 day delay
- status: released



