Java 验证框架
我曾经遇到过一个 Java 验证框架,您在其中编写了一个方法来保护数据类型的完整性,并且对该数据类型的任何 CRUD 操作都会自动调用此方法.
I once came across a validation framework for java, where you wrote one method that protected the integrity of the data-type and any CRUD operations on that data-type automatically called this method.
有人知道这个框架是什么吗?我只是想避免对附加到数据类型的每个 CRUD 方法进行重复验证.
Does anyone know what this framework is? I simply want to avoid repetitive validation on every CRUD method attached to a data-type.
推荐答案
这里有大量 Java 验证库/框架 - http://java-source.net/open-source/validation
Here's a huge list of Java Validation Libraries / Frameworks - http://java-source.net/open-source/validation
相关文章