@Component is an annotation that allows Spring to automatically detect our custom beans . In other words, without having to write any explicit code, Spring will: Scan our application for classes annotated with @Component. Instantiate them and inject any specified dependencies into them.
Read moreWhat are the components of a class in Java?
There are three major components of class in Java.
Read moreHow do you create a component in Java?
Steps for Creating a Custom Component
Read moreWhat are the components of JDK?
It is a core package used in Java, along with the JVM (Java Virtual Machine) and the JRE (Java Runtime Environment).
Read moreWhat is component in Java with example?
A component is an object having a graphical representation that can be displayed on the screen and that can interact with the user . Examples of components are the buttons, checkboxes, and scrollbars of a typical graphical user interface.
Read moreWhat are the components of Java class?
There are three major components of class in Java.
Read more