---
title: "Do Nguyen (@donnie-dev) | Hashnode"
description: "Java. Read the latest articles by Do Nguyen on Hashnode."
url: "https://hashnode.com/@donnie-dev"
---

@donnie-dev

# Do Nguyen

@donnie-dev · HCMC, Vietnam · Joined July 2021

Java

### [A Beginner's Guide to Creating Custom Validators in Spring](https://donnie-coding.hashnode.dev/a-beginners-guide-to-creating-custom-validators-in-spring?utm_source=hashnode&utm_medium=feed)

In this example, we're creating a custom validator that checks if the age is greater than or equal to a specified minimum age. First, create a custom validator by implementing the javax.validation.ConstraintValidator interface: public class AgeValida...

3 min read · [donnie-coding.hashnode.dev](https://donnie-coding.hashnode.dev/a-beginners-guide-to-creating-custom-validators-in-spring?utm_source=hashnode&utm_medium=feed)

[Mar 8, 2023](https://hashnode.com/posts/a-beginners-guide-to-creating-custom-validators-in-spring/6408d0ec6a58a6ebb2d32f47)
