Hi Sebastijan, thanks :) I see your point, the Spring-managed component annotations also register Beans in the background, same as @Bean. However, I also wanted to cover the concept of IoC in this article to make everything more accessible to beginners. So now I kinda reshufled the annotations/chapters to be closer to your suggestion but keep everything easy to understand.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hi Sebastijan, thanks :) I see your point, the Spring-managed component annotations also register Beans in the background, same as @Bean. However, I also wanted to cover the concept of IoC in this article to make everything more accessible to beginners. So now I kinda reshufled the annotations/chapters to be closer to your suggestion but keep everything easy to understand.