Added a bean validation example.