Spring Tutorial

Spring Boot Hello World Example In STS

Spring boot is used to help developers develop spring applications quickly and easily. It can help you in the following aspects. Create spring project file structure and related source files with a wizard. Get and add correct dependencies jars into your spring project automatically from the spring repository. You do not need to care about […]

Spring Boot Hello World Example In STS Read More »

Spring Autowire Use @Component, @Repository, @Service and @Controller Annotations

Besides define Spring beans in a configuration file, Spring also provides some java annotation interface for you to make Spring bean declaration simple and easy. These interfaces are also called stereotype annotation. They are @Component, @Repository, @Service, and @Controller. If you want to reference such a bean, you just need to annotate that field with

Spring Autowire Use @Component, @Repository, @Service and @Controller Annotations Read More »