The Spring Container is a lightweight container that manages Java objects throughout their lifecycle - from creation to destruction. It holds these objects and provides them when needed.
Dependency Injection Process
- Read application configuration metadata
- Instantiate objects
- Inject dependencies
Spring Configuration Metadata
- Defines how objects should be instantiated, configured, and assembled
- Can be expressed through XML, Java annotations, or Java code
Spring Module Structure
Module Structure
