May 2018
Intermediate to advanced
310 pages
6h 18m
English
As we already mentioned, the @Autowired annotation will inject all necessary dependencies. To avoid the problem with dependency injection that we explained previously, try to avoid injecting too many dependencies into a single class. Usually, it's good if you have very few beans that your class requires. It's up to you to maintain this balance and organize your architecture.
Read now
Unlock full access