> For the complete documentation index, see [llms.txt](https://isubasinghe.gitbook.io/isithas-wiki/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://isubasinghe.gitbook.io/isithas-wiki/software_engineering/frameworks/spring.md).

# spring

## Basic idea

The de facto JVM application framework. Built around dependency injection (the IoC container), AOP, and a vast ecosystem of starters (Spring Boot) for web, data, security, messaging.

## Key facts

* IoC container manages bean lifecycle and wires dependencies.
* Spring Boot: opinionated auto-configuration + embedded server.
* Stereotypes: `@Component`, `@Service`, `@Repository`, `@Controller`.
* Major modules: Spring MVC, Spring Data, Spring Security, Spring Cloud.
