Tag

Commons Lang3

1 views collected around this technical thread.

Architecture Digest
Architecture Digest
Nov 5, 2021 · Backend Development

Parameter Validation in Spring: Controller vs Service Layer, Hibernate Validator, and Commons‑Lang3

This article explains how to place parameter validation in the appropriate Spring layer, demonstrates using Hibernate Validator and commons‑lang3 for concise validation annotations, provides code examples for entity definitions and controller methods, and mentions creating custom validation annotations when needed.

Commons Lang3ControllerHibernate Validator
0 likes · 6 min read
Parameter Validation in Spring: Controller vs Service Layer, Hibernate Validator, and Commons‑Lang3
Top Architect
Top Architect
Oct 28, 2021 · Backend Development

Using Hibernate Validator and Commons‑Lang3 for Parameter Validation in Spring Boot Controllers

This article explains how to place parameter validation in the appropriate layer, introduces Hibernate Validator with Maven dependencies and common annotations, provides a validated entity example, shows controller usage with @Valid/@Validated, and demonstrates useful Commons‑Lang3 utilities for string and collection checks.

Commons Lang3Hibernate ValidatorJava
0 likes · 5 min read
Using Hibernate Validator and Commons‑Lang3 for Parameter Validation in Spring Boot Controllers