1. Introduction
In this tutorial, We'll learn how to build a simple calculator application using spring boot framework. This is mainly demonstrating to understand @Bean and @Componet annotations usage and how the dependencies are getting injected by the application context.
First, We will see the creation of the calculator interface and its implementation classes.
Next, Creating the Bean with @Bean annotation using the method injection technique.
Finally, Understanding the execution and dependency injections.
Further, You can read examples of bean creation using @Component and @Bean annotations.