In this episode, I show you how achieve inversion of control using the Spring Framework and Java annotations, and how to retrieve beans from the ApplicationContext.

Code: https://gitlab.com/kody-simpson/spring-framework/inversion-of-control-and-beans
Slides: https://docs.google.com/presentation/d/1DaNxmgTUHjiBlil6ifGXn0MTZEboST171JsJZH5Fg7I/edit?usp=sharing

  • 0:00:00 - Intro
  • 0:00:28 - Beans
  • 0:02:31 - Application Context
  • 0:03:38 - Spring Bean Stereotypes (Annotations)
  • 0:06:38 - Creating example Spring project
  • 0:11:39 - Inversion of Control to Spring
  • 0:19:46 - Component Scanning
  • 0:21:25 - Outro

#java #spring #spring-framework #spring-boot

Spring Tutorial - 3 - Inversion of Control and Beans
2.95 GEEK