Concept notes
Why this decision matters
Spring Request Boundary Lab is focused practice for Spring HTTP request boundaries. It explains why each answer is safe, risky, or production-ready.
Turn untrusted HTTP input into a deliberate Spring application command and a stable response.
Backend concept notes
Controllers translate HTTP while services own application use cases and transaction boundaries.
Validation and exception translation create a stable public contract before internal details escape.
Common mistakes
- Putting business logic in controllers.
- Returning raw exceptions.
- Treating all failures as HTTP 200 or 500.
Review misses from this game
Related Backend Study Lab articles
Use the main site for deeper reading after playing.
Start here
Read deeper
Related Backend Study Lab tools
Use tools from the main site when you want to inspect real inputs.
FAQ
Short answers for how this game fits backend interview and study practice.
Where should request validation happen?
Validate transport shape at the controller boundary and enforce domain invariants inside the application or domain boundary.
Should a controller start database transactions?
Usually the service use-case boundary should own the transaction so other entry points can reuse it.