Spotting patterns in Spring
On This Lesson 4 topics
The content for this lesson is written and waiting for review. The outline below shows what it covers. It will be published once it is approved.
In this lesson
recognize patterns in Spring and the JDK.
Planned topics
- Spring beans are created by factories (
BeanFactory). JdbcTemplateandRestTemplateaccept callbacks: close to Strategy.- Spring Data repositories follow the Repository pattern.
- Spring events work like Observer.
- Proxies (for transactions and security) wrap beans, like Decorator.
Draft outline details
Demonstration
a table: pattern / JDK example / Spring example.
Check your understanding
Which pattern do Spring Data repositories follow?
Show answer
Repository.
Practice
Apply this lesson with the module's lab, exercises and quiz.
Marking a lesson complete is optional and you can undo it any time. Your progress stays in this browser.