Spring Boot Integrates slf4j and logback
The difference between slf4j and logback. Slf4j (Simple Logging Facade for Java) is a log facade of Java that implements some common apis for the logging framework. Logback is the […]
The difference between slf4j and logback. Slf4j (Simple Logging Facade for Java) is a log facade of Java that implements some common apis for the logging framework. Logback is the […]
Besides define Spring beans in configuration file, Spring also provide some java annotation interface for you to make Spring bean declaration simple and easy. These interfaces are also called stereotype […]
Spring event architecture make event publish and receive so easy. You can just configure event publisher and listener object as Spring beans in application context xml file. And then use […]
When your Spring project becomes bigger and bigger, the Spring bean configuration file may become very large. So you have to split it to several sub bean configuration file, each […]
Spring FactoryBean is a special beans in spring framework. It can be used as a bean factory to create other Spring managed beans. You may be already familiar with built-in […]
Spring framework provide three methods for you to customize bean behavior after bean initialization and before destruction. Of course all the methods are invoked by spring bean factory. This article […]
When your Spring application startup, you may sometimes encounter such exceptions. org.springframework.beans.factory.BeanDefinitionStoreException. And the error message maybe like below. Failed to read candidate component class: file nested exception is org.springframework.core.NestedIOException: […]