
Question 02 - What is a pattern? What is an anti-pattern. Is dependency injection a pattern?
Question 03 - What is an interface and what are the advantages of making use of them in Java? Why are they recommended for Spring beans?
Question 06 - How are you going to create a new instance of an ApplicationContext?
Question 08 - How are you going to create an ApplicationContext in an integration test?
Question 09 - What is the preferred way to close an application context? Does Spring Boot do this for you?
Question 10
Can you describe:
Dependency injection using Java configuration?
Dependency injection using annotations (@Component, @Autowired)?
Component scanning, Stereotypes and Meta-Annotations?
Scopes for Spring beans? What is the default scope?
Question 11 - Are beans lazily or eagerly instantiated by default? How do you alter this behavior?
Question 13 - What is a BeanFactoryPostProcessor and what is it used for? When is it invoked?
Why would you define a static @Bean method?
What is a ProperySourcesPlaceholderConfigurer used for?
Question 14 - What is a BeanPostProcessor and how is it different to a BeanFactoryPostProcessor? What do they do? When are they called?
What is an initialization method and how is it declared on a Spring bean?
What is a destroy method, how is it declared and when is it called?
Consider how you enable JSR-250 annotations like @PostConstruct and @PreDestroy? When/how will they get called?
How else can you define an initialization or destruction method for a Spring bean?
Question 16 - What is the behavior of the annotation @Autowired with regards to field injection, constructor injection and method injection?
Question 17 - What do you have to do, if you would like to inject something into a private field? Ho does this impact testing?
Question 18 - How does the @Qualifier annotation complement the use of @Autowired?
Question 19 - What is a proxy object and what are the two different types of proxies Spring can create?
What are the limitations of these proxies (per type)?
What is the power of a proxy object and where are the disadvantages?
Question 22 - What is the default bean id if you only use @Bean? How can you override this?
Question 23 - Why are you not allowed to annotate a final class with @Configuration?
How do @Configuration annotated classes support singleton beans?
Why can’t @Bean methods be final either?
Question 24 - How do you configure profiles?, What are possible use cases where they might be useful?
Spring Professional Exam Tutorial explains and answers all questions from Spring Professional Certification Study Guide. Each answer to exam topic is explained in detail with video tutorial, description and good example for you to get deep understanding of discussed topic. With this course you will get all required knowledge and skills to pass Spring Professional Certification Exam.
Course is divided into 8 modules:
Module 01 - Container, Dependency, and IoC
Module 02 - Aspect Oriented Programming
Module 03 - Data Management: JDBC, Transactions, JPA, Spring Data
Module 04 – Spring Boot
Module 05 - Spring MVC and The Web Layer
Module 06 – Security
Module 07 – REST
Module 08 – Testing
This course covers first module of the entire course and inside you can find answers to all topics from Spring Professional Certification Study Guide first section, which is Container, Dependency, and IoC.