Multiple Hierarchical Contexts in Spring Boot

TL;DR In addition to creating only one ApplicationContext in a typical Spring Boot application, there is a possibility to create multiple instances of ApplicationContext in a single application. These contexts can form parent-child relationships between them. This way we don't have any longer a single ApplicationContext containing all beans defined in the application. We can rather have a hierarchy of contexts each containing beans defined within themselves. Forming the parent-child relationshi...
Read post