This is a tutorial covering the fundamentals of Spring, a popular backend framework.
Topics covered:
- Spring Introduction: The basic concepts of Spring and IoC container.
- Manage Beans with XML: Use XML configuration file to manage beans.
- Manage Beans with Annotations: Use annotations within classes as a partly alternative to XML bean definitions.
- Manage Beans with Configuration Class: Use configuration classes and annotations with classes to replace XML bean definitions entirely.
- Testing with Spring: Use
spring-test
dependency with unit tests.
For best practices and additional information, refer to the accompanying wiki.