Spring Automatically Discovering Beans Using @Component Annotations
Pre-requisite trails Spring Auto-Wiring Using Annotations Concept Overview Typically in Spring, dependency injection is achieved using bean , constructor-arg and property tags. However, in large applications, the number of beans will increase and the corresponding XML written to configure the numerous beans will become very large and unwieldly. Spring provides a feature called ‘Auto-Wiring’ that … Read more