Java validation framework.