Is there a recommendable validation framework that can be used with pure Java code (no annotations)? It should b开发者_StackOverflow社区e applicable to domain objects.
Oval has a very good reputation.
And to quote from their site:
Constraints can be declared with annotations (
@NotNull
,@MaxLength
), POJOs or XML.
精彩评论