Spring boot is used to help developer to develop spring application quickly and easily. It can help you in following aspects. Create spring project file structure and related source files […]
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 framework support internationalization. With this function, you can display text message in different languages to different locale request user. For example. display English text to US user and Chinese text to china user. This article will show you how to achieve this in Spring.
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 util:constant tag can be used to declare a bean which reference one class’s final static field. This article will show you how to do that.
Spring framework provide methods to load external resource data (text file, image file, binary file) into your application. The external resource can be a local file, a url locator file […]
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 […]
This example will show you how to use constructor injection to autowire spring bean as another bean’s constructor parameters.
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 […]