The Spring Framework started as a Dependency-Injection container and grew into a full, rich and mature ecosystem.
If you’re just starting out with Spring – here’s where you go get started:
The Basics of Spring
See how to bootstrap and test a simple Spring Boot application.
Explore the most commonly used Spring core annotations.
Learn how and when to use the standard Spring bean annotations
Learn the basics of Constructor Injection in Spring.
Learn how to perform dependency injection using the @Autowired annotation in Spring.
See how to prevent and recover from the NoSuchBeanDefinitionException in Spring.
How to define and use Profiles in Spring. The 4 ways to enable profiles and their precedence. And a real-world example using profiles.
Learn how to define and use custom profiles in Spring and Spring Boot.
Spring for the Web
A quick guide to the @RequestMapping annotation in Spring.
Learn about the differences between @Controller and @RestController annotations in Spring MVC.
Learn about the Spring @RequestBody and @ResponseBody annotations.
Spring MVC configuration – both Java and XML – on a simple Spring MVC project.
See how to create forms using Spring MVC.
Learn about the interfaces Model, ModelMap and ModelView provided by Spring MVC.
Spring for Persistence
A quick and practical guide to integrating Hibernate 5 with Spring.
Introduction to Spring Data JPA with Spring 4 – the Spring config, the DAO, manual and generated queries and transaction management.