Skip to content

Stay curious. Build better.

Appearance

Choose how BestHub looks on this device.

Changes apply immediately.

Search articles

Open Discover with these filters

Suggested searches

Explore BestHub

#custom-validator

RSS feed
Follow or choose interest 7-day signal and related keywords

Latest articles

3 articles in the current browsing window, ordered by publication date.

Spring Boot Parameter Validation: From Basic Annotations to Custom Validators & Group Validation

This guide covers Spring Boot parameter validation using Bean Validation annotations, demonstrating basic setup with @Valid/@Validated, custom validator creation for phone numbers, group validation for create/update scenarios, global exception handling for MethodArgumentNotValidException and ConstraintViolationException, and best practices like DTO separation and nested object validation.

Up to 500 articles, 100 per page. The archive offers another way to explore older articles.