Tag

Validator

0 views collected around this technical thread.

Selected Java Interview Questions
Selected Java Interview Questions
Apr 6, 2023 · Backend Development

Why Use Assert with Spring Validator? A Comparison and Usage Guide

This article explains that while Spring's Validator handles simple parameter validation, it cannot validate relationships between parameters and business data, and demonstrates how using org.springframework.util.Assert provides a more concise, readable way to perform such checks, including exception handling examples.

AssertBackendException Handling
0 likes · 4 min read
Why Use Assert with Spring Validator? A Comparison and Usage Guide
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Oct 25, 2021 · Backend Development

Master Spring Bean Validation: From Basics to Custom Annotations

This guide explains how to configure and use Spring Bean Validation, demonstrates simple and method‑level validation, and shows how to create custom constraint annotations with full code examples for a Spring Boot 2.4.11 application.

BackendBean ValidationCustom Annotation
0 likes · 7 min read
Master Spring Bean Validation: From Basics to Custom Annotations
Java Captain
Java Captain
Oct 9, 2020 · Backend Development

Building a Robust Backend API with Spring Boot: Validation, Global Exception Handling, and Unified Response

This article demonstrates how to build a clean Spring Boot backend API by adding the web starter, using Hibernate Validator for parameter checks, handling validation errors with global exception handling, defining custom exceptions, and standardizing responses with a unified ResultVO and response‑code enum.

BackendAPIExceptionHandlingSpringBoot
0 likes · 19 min read
Building a Robust Backend API with Spring Boot: Validation, Global Exception Handling, and Unified Response