#SpringBoot : How to create multiple instances of the same Spring Bean type. #Java
Spring Boot assumes that all the created beans are singletons. That works OK for 90% of the cases when Spring Boot is used but sometimes we need several instances of the same bean type. One example is when our bean is a kind of “interface service” that is reading or writing data to another external… Read More »