Just a thought on client side validation

Hi, today I came across

  1. http://www.gwtproject.org/doc/latest/DevGuideValidation.html
  2. https://vaadin.com/wiki/-/wiki/Main/Client+Side+Validation

I just thought about something like the BeanFieldGroup could pass the Validation constraints from the server side JavaBean to a client side compiled version of the validation api, so that we have the validation in sync. Do you think that’s possible? It would be quite heavyweight I guess, but quite straightforward to use.