Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Oct 25, 2024 · Backend Development

Mastering Spring Boot 3 Validation: From Annotations to Global Error Handling

This article provides a comprehensive guide to data validation in Spring Boot 3, covering Bean Validation annotations, controller and service‑layer checks, JPA entity validation, custom constraints, validation groups, programmatic validation, and internationalized error messages with practical code examples and tests.

Bean ValidationInternationalizationJava
0 likes · 16 min read
Mastering Spring Boot 3 Validation: From Annotations to Global Error Handling
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Mar 25, 2024 · Backend Development

Mastering Custom Error Handling in Spring Boot 2.7: From BasicErrorController to ErrorPageRegistrar

This guide explains how to customize Spring Boot's default error handling—including enabling RFC‑7807 problem details, extending BasicErrorController, using @ControllerAdvice for JSON responses, creating custom HTML error pages, and registering error pages directly with the embedded servlet container.

Custom Error Pagebackenderror-handling
0 likes · 7 min read
Mastering Custom Error Handling in Spring Boot 2.7: From BasicErrorController to ErrorPageRegistrar
Java Backend Technology
Java Backend Technology
Jun 15, 2022 · Backend Development

Master Spring Boot Annotations: From @RequestMapping to @SpringBootApplication

This comprehensive guide explains the most commonly used Spring Boot annotations—including MVC mapping, bean definitions, dependency injection, scope management, container configuration, and bootstrapping—providing clear examples and visual diagrams to help developers write cleaner, more efficient Java code.

Annotationsdependency-injectionrest-controller
0 likes · 16 min read
Master Spring Boot Annotations: From @RequestMapping to @SpringBootApplication
Programmer DD
Programmer DD
Aug 13, 2021 · Backend Development

How to Debug and Resolve 400 Errors in Spring MVC

This article explains how Spring MVC processes HTTP 400 errors, walks through the DispatchServlet and exception‑handling flow, shows key code snippets, and provides practical ways to implement global or custom exception resolvers to handle common 400‑causing exceptions.

400-errorbackendexception-handling
0 likes · 7 min read
How to Debug and Resolve 400 Errors in Spring MVC
Java Captain
Java Captain
Oct 18, 2020 · Backend Development

Common Spring Boot Annotations and Their Usage

This article provides a comprehensive overview of common Spring Boot annotations, including @SpringBootApplication, @RestController, @RequestMapping, and JPA annotations, explaining their purposes, usage, and example code snippets for building Java backend applications effectively.

jpaspring-bootspring-mvc
0 likes · 9 min read
Common Spring Boot Annotations and Their Usage