Dung (Donny) Nguyen

Senior Software Engineer

Spring Boot Annotations Cheat Sheet

In Spring Boot, annotations are a huge part of how you configure and wire your application without tons of XML. Here are some of the most commonly used ones, grouped by purpose so they’re easier to remember:


πŸš€ Core / Bootstrapping


πŸ” Component Scanning & Dependency Injection


🌐 Web / REST Annotations


πŸ—„οΈ Data / JPA Annotations

(Used with Spring Data JPA and ORM tools)


βš™οΈ Configuration & Properties


πŸ” Validation


πŸ”„ Transactions


πŸ§ͺ Testing