Java Validation Frameworks

前端 未结 5 665
一向
一向 2020-12-09 05:31

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 automa

相关标签:
5条回答
  • 2020-12-09 06:11

    Here's a huge list of Java Validation Libraries / Frameworks - http://java-source.net/open-source/validation

    0 讨论(0)
  • Hibernate Validator, per adref's answer, is an implementation of JSR-303. Here's a helpful article to get you started if you are interested:

    http://java.dzone.com/articles/bean-validation-and-jsr-303

    0 讨论(0)
  • 2020-12-09 06:33

    Are you using Hibernate for persistence? If you are, there is Hibernate Validator.

    0 讨论(0)
  • 2020-12-09 06:34

    Apache Commons has a validation framework.

    0 讨论(0)
  • 2020-12-09 06:36

    Spring has a very nice validation and binding API.

    0 讨论(0)
提交回复
热议问题