Best bean validation framework for Spring-Hibernate web app

Discussions

General J2EE: Best bean validation framework for Spring-Hibernate web app

  1. Can anyone suggest the best bean validation framework for a J2EE web app that uses Spring & Hibernate? In the past we've used Struts Validation, Jakarta Commons Validor, and Hibernate beans validation. We've found all to have some drawbacks - Struts and Jakarta are too verbose, and Hibernate too limited. So currently I'm looking at Valang: http://opensource.atlassian.com/confluence/spring/display/MODULES/Using+Valang+validator Also saw a new JSR on the topic: http://jcp.org/en/jsr/detail?id=303 Any ideas?

    Threaded Messages (1)

  2. You could try mine?[ Go to top ]

    I have written a Spring Validation compatible validation framework that you could have a play with. It's an easy to use Validation Service which combines the Visitor pattern and the Strategy pattern to create a flexible, configurable Object Validation Service. It lets you build modular validators, and apply them to your value objects (in groups if you like). It's available on my website at http://www.benwilcock.net. There is a contact form there you can use if you want to get in touch.