Tagged articles

Validated

5 articles · Page 1 of 1
Java Tech Workshop
Java Tech Workshop
Aug 21, 2026 · Backend Development

SpringBoot Core Annotations: @ControllerAdvice, @RestControllerAdvice, @Validated

SpringBoot developers often misuse @ControllerAdvice, @RestControllerAdvice, and @Validated, leading to uncaught exceptions, ambiguous responses, and validation errors; this article explains each annotation’s underlying mechanism, proper usage for global exception handling, data binding, request preprocessing, and group‑based validation, and provides production‑ready code examples.

ControllerAdviceRestControllerAdviceSpringBoot
0 likes · 20 min read
SpringBoot Core Annotations: @ControllerAdvice, @RestControllerAdvice, @Validated
Tech Freedom Circle
Tech Freedom Circle
Jul 7, 2025 · Backend Development

Elegant Spring Boot Parameter Validation: A P7 Engineer’s Guide

This article walks through Spring Boot’s built‑in parameter validation using JSR‑303/JSR‑380, compares @Valid and @Validated, shows how to configure global exception handling, implement group validation, fast‑fail mode, and custom constraints, and demonstrates both controller‑level and service‑level validation with complete code examples.

@ValidHibernate ValidatorSpring Boot
0 likes · 39 min read
Elegant Spring Boot Parameter Validation: A P7 Engineer’s Guide
Java Captain
Java Captain
Feb 26, 2024 · Backend Development

Parameter Validation in Spring Boot: @Valid, @Validated, and Custom Annotations

Spring Boot offers several ways to validate request parameters—including the @Valid and @Validated annotations and custom validation annotations—each with its own strengths, allowing developers to enforce data integrity, improve code quality, and enhance user experience across different scenarios.

@ValidCustom AnnotationJava
0 likes · 11 min read
Parameter Validation in Spring Boot: @Valid, @Validated, and Custom Annotations