Tagged articles
25 articles
Page 1 of 1
Selected Java Interview Questions
Selected Java Interview Questions
Jul 18, 2025 · Backend Development

Master Spring Bean Validation: Quick Start, Custom Constraints, and Advanced Techniques

This article walks through Spring Bean Validation fundamentals, demonstrating how to apply built‑in constraints, create custom validators, use group validation, perform cascading request validation, and enable method‑level checks, all with clear code examples and best‑practice recommendations.

BackendBean ValidationJSR-380
0 likes · 9 min read
Master Spring Bean Validation: Quick Start, Custom Constraints, and Advanced Techniques
Java Tech Enthusiast
Java Tech Enthusiast
May 19, 2025 · Information Security

Why Validation Matters: Java Bean Validation and Permission Checks

This article explains why both front‑end and back‑end data validation are essential for secure and user‑friendly web applications, introduces Java Bean Validation annotations, shows how to integrate them with Spring MVC, and compares common Java permission‑control frameworks such as Spring Security, Shiro and Sa‑Token.

Bean ValidationJavadata validation
0 likes · 16 min read
Why Validation Matters: Java Bean Validation and Permission Checks
macrozheng
macrozheng
May 9, 2025 · Backend Development

Master Spring Boot Parameter Validation: From Bean Validation to Global Exception Handling

This tutorial walks through the need for robust API parameter validation in Spring Boot, introduces the Bean Validation specification and its implementations, explains key constraint annotations, demonstrates a quick start with Maven dependencies, shows how to build DTOs and controllers, and details a unified global exception handling strategy for clean error responses.

API ValidationBean ValidationException Handling
0 likes · 22 min read
Master Spring Boot Parameter Validation: From Bean Validation to Global Exception Handling
Lin is Dream
Lin is Dream
May 3, 2025 · Backend Development

Master Java Bean Validation: Reduce Redundant Code with JSR‑380 Annotations

This tutorial shows how to use Javax Validator annotations to simplify backend service interfaces, covering basic, collection, date, enum, conditional, group, and custom validations with complete Maven dependencies and example code, plus handling of validation exceptions.

BackendBean ValidationJSR-380
0 likes · 16 min read
Master Java Bean Validation: Reduce Redundant Code with JSR‑380 Annotations
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Apr 5, 2025 · Backend Development

Master Spring Boot 3: 110 Real-World Cases and Advanced Configuration Tricks

This article presents a curated collection of 110 Spring Boot 3 practical examples, covering @Profile usage, PropertySource configuration, resource loading, bean validation, and automatic proxy creation, providing developers with hands‑on code snippets and clear explanations to enhance backend development skills.

BackendBean Validationannotations
0 likes · 8 min read
Master Spring Boot 3: 110 Real-World Cases and Advanced Configuration Tricks
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 ValidationJavainternationalization
0 likes · 16 min read
Mastering Spring Boot 3 Validation: From Annotations to Global Error Handling
Alibaba Cloud Developer
Alibaba Cloud Developer
Mar 13, 2024 · Backend Development

Mastering Elegant Parameter Validation in Spring Boot with Bean Validation

This article explains how to replace repetitive manual if‑else checks with Spring Boot’s built‑in Bean Validation, demonstrating the use of @Valid, @Validated, custom constraint annotations, group validation, and global exception handling to achieve clean, reusable, and maintainable parameter validation across controllers and services.

Bean ValidationParameter ValidationSpring Boot
0 likes · 20 min read
Mastering Elegant Parameter Validation in Spring Boot with Bean Validation
政采云技术
政采云技术
Nov 22, 2023 · Backend Development

Comprehensive Guide to Spring Validation: Annotations, Usage Scenarios, and Advanced Techniques

This article provides an in‑depth overview of Spring Validation, covering standard Bean Validation 2.0 annotations, Hibernate extensions, the differences between @Valid and @Validated, practical usage in controllers, programmatic validation, Dubbo integration, group validation, and how to create custom validation annotations with full code examples.

Bean ValidationDubboannotation
0 likes · 16 min read
Comprehensive Guide to Spring Validation: Annotations, Usage Scenarios, and Advanced Techniques
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Nov 8, 2023 · Backend Development

Mastering Spring Boot Parameter Validation with JSR‑303, Groups, and AOP

Learn how to implement comprehensive parameter validation in Spring Boot 2.6.12 using JSR‑303 Bean Validation, covering simple checks, validation groups, single‑parameter validation, nested objects, custom utilities, internationalization, and unified AOP‑based handling with practical code examples and configuration steps.

Bean ValidationJSR-303Parameter Validation
0 likes · 12 min read
Mastering Spring Boot Parameter Validation with JSR‑303, Groups, and AOP
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Nov 7, 2023 · Backend Development

Master Spring Validation in Spring Boot 2.6: From Basics to Custom Annotations

This guide explains Spring Validation in Spring Boot 2.6, covering its lightweight features, configuration of Bean Validation providers, injection of validators, practical examples, custom annotation creation, method‑level validation, and additional configuration options with clear code samples.

Backend DevelopmentBean ValidationCustom Annotations
0 likes · 8 min read
Master Spring Validation in Spring Boot 2.6: From Basics to Custom Annotations
Su San Talks Tech
Su San Talks Tech
Nov 5, 2023 · Backend Development

Master Parameter & Business Rule Validation in SpringBoot Using Custom Bean Validation

Learn how to implement both simple parameter checks and complex business rule validations in SpringBoot by leveraging Bean Validation, creating custom annotations like @UniqueUser and @NotConflictUser, and integrating them seamlessly into controllers to ensure data integrity and reduce boilerplate logic.

Backend DevelopmentBean ValidationBusiness Rule Validation
0 likes · 9 min read
Master Parameter & Business Rule Validation in SpringBoot Using Custom Bean Validation
DeWu Technology
DeWu Technology
Oct 18, 2023 · Backend Development

Understanding Bean Validation and Spring Validation in Java Applications

Bean Validation (JSR‑303/380) offers a standard, annotation‑driven API—implemented by Hibernate Validator—for declaring constraints such as @NotNull or @Email, while Spring integrates it via @Valid and @Validated (with group support and AOP‑based method validation), enabling automatic request‑body checks, custom constraints, and service‑layer validation, provided the proper annotations are applied.

Bean ValidationJSR-303spring
0 likes · 15 min read
Understanding Bean Validation and Spring Validation in Java Applications
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Dec 7, 2022 · Backend Development

Master Bean Validation in Spring 5: From Basics to Custom Constraints

Learn how to integrate Bean Validation with Spring 5.2.23, configure the validator, inject it, create custom constraints, and enable method‑level validation using MethodValidationPostProcessor, with complete code examples and execution results, including handling of constraint violations and bean registration steps.

BackendBean ValidationCustom Constraints
0 likes · 7 min read
Master Bean Validation in Spring 5: From Basics to Custom Constraints
JD Retail Technology
JD Retail Technology
Jan 4, 2022 · Backend Development

Using Jakarta Bean Validation for Robust Data Validation in Java Applications

This article explains the Jakarta Bean Validation standard, its applicable scenarios, annotation basics, integration with Hibernate Validator, configuration options, simple and advanced usage examples—including group sequencing and multi‑field validation—along with practical code snippets and deployment considerations for backend Java development.

BackendBean ValidationHibernate Validator
0 likes · 15 min read
Using Jakarta Bean Validation for Robust Data Validation in Java Applications
Code Ape Tech Column
Code Ape Tech Column
Nov 5, 2021 · Backend Development

Integrating JSR‑303 Bean Validation into Spring Boot: A Comprehensive Guide

This article explains how to seamlessly integrate JSR‑303 Bean Validation with Spring Boot, covering the underlying concepts, required dependencies, built‑in and Hibernate‑specific constraints, simple, group and nested validation techniques, result handling, the role of spring‑boot‑starter‑validation, and how to create custom validation annotations and validators.

BackendBean ValidationJSR-303
0 likes · 17 min read
Integrating JSR‑303 Bean Validation into Spring Boot: A Comprehensive Guide
Programmer DD
Programmer DD
Jan 13, 2021 · Backend Development

Master Spring Validation: Advanced Techniques, Group & Nested Validation, and Custom Rules

This comprehensive guide explores Spring Validation in depth, covering basic usage, dependency setup, requestBody and requestParam validation, unified exception handling, group validation, nested and collection validation, custom constraints, programmatic checks, fail‑fast mode, and the differences between @Valid and @Validated, while revealing the underlying implementation in Spring MVC.

Bean ValidationCustom ConstraintGroup Validation
0 likes · 18 min read
Master Spring Validation: Advanced Techniques, Group & Nested Validation, and Custom Rules
Programmer DD
Programmer DD
Dec 13, 2020 · Backend Development

Mastering Bean Validation with Hibernate Validator: A Complete Guide for Spring Boot

This article explains how to use JSR‑380 Bean Validation 2.0 and Hibernate Validator in Spring Boot applications, covering built‑in constraints, custom annotations, group validation, method and container element validation, fast‑fail mode, and integration with @Valid and @Validated for clean, reusable data checks.

Bean ValidationHibernate ValidatorJSR-380
0 likes · 19 min read
Mastering Bean Validation with Hibernate Validator: A Complete Guide for Spring Boot
Code Ape Tech Column
Code Ape Tech Column
Oct 27, 2020 · Backend Development

Mastering JSR‑303 Validation in Spring Boot: From Basics to Custom Constraints

This article walks through the fundamentals of JSR‑303 Bean Validation in Spring Boot, explains how to add the starter dependency, lists built‑in constraint annotations, demonstrates simple, group and nested validation, shows how to capture validation errors, and guides you through creating custom constraint annotations and validators with full code examples.

Bean ValidationCustom ConstraintGroup Validation
0 likes · 18 min read
Mastering JSR‑303 Validation in Spring Boot: From Basics to Custom Constraints
Programmer DD
Programmer DD
Dec 12, 2019 · Backend Development

Mastering Spring Boot Validation: Annotations, Custom Rules, and Global Error Handling

This article explains how to use Bean Validation in Spring Boot to replace repetitive IF‑ELSE checks with annotation‑driven parameter checks, covers built‑in and Hibernate‑specific constraints, demonstrates custom validators, group validation, and shows how to centralize error responses with a global exception handler.

Bean ValidationException HandlingJava
0 likes · 11 min read
Mastering Spring Boot Validation: Annotations, Custom Rules, and Global Error Handling
Programmer DD
Programmer DD
Oct 5, 2019 · Backend Development

Master Elegant Request Parameter Validation in Spring Boot with JSR‑303

This tutorial explains why server‑side request parameter validation is essential, introduces the JSR‑303 Bean Validation standard and its Hibernate Validator implementation, and provides step‑by‑step code examples, Swagger integration tips, and dependency guidance for building robust Spring Boot REST APIs.

Bean ValidationHibernate ValidatorJSR-303
0 likes · 11 min read
Master Elegant Request Parameter Validation in Spring Boot with JSR‑303