June 2018
Intermediate to advanced
408 pages
11h 23m
English
The only disadvantage of the constructor-based injection is that it may cause circular dependency between objects. Circular dependency means two objects depend on each other. For resolving that, we should use a setter injection instead of a constructor injection.
Let's see a different type of DI in Spring, which is a setter-based injection.
Read now
Unlock full access