January 2018
Intermediate to advanced
414 pages
10h 29m
English
In our example microservice, we define a service and the component scan creates a bean for it automatically. Later on, when our controller needs an instance of the bean, it gets injected through the @Autowired mechanism.
However, sometimes things get a bit more complex and deciding which bean is injected may require some of our configurations, so let's understand how we could do this.
Read now
Unlock full access