Skip to content
Ameen Abozaid
In reviewJNR-005-L09

Spotting patterns in Spring

  • Lesson 9 of 10
  • 11 min read
  • Junior
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).
  • JdbcTemplate and RestTemplate accept 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.

Lab and exercises Quiz

Marking a lesson complete is optional and you can undo it any time. Your progress stays in this browser.

Continue to next lesson

Type to search levels, phases, modules and lessons.