Add support to java bean validation