开发者

Java JSR-303 Bean Validation - implementation comparison

开发者 https://www.devze.com 2023-03-24 23:50 出处:网络
I\'m looking into adding JSR-303 validation to an application and I\'m down to two options: Hibernate validator

I'm looking into adding JSR-303 validation to an application and I'm down to two options:

  • Hibernate validator
  • agimatec-validation

I'm looking into something lightweight but also complete from the specification point of view.

I'm inclined to use Agimatec, but Hibernate's implementation is "the reference".

Where could I find a comparison of both with advantages/disadvantages of each? Can you share from your experience in case you used both? Or maybe a third alternative if any开发者_如何学C?


Here's a comparison of the two..

http://carinae.net/2010/06/benchmarking-hibernate-validator-and-apache-beanvalidation-the-two-jsr-303-implementations/

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号