When I try to submit a JSF form referring an entity with bean validation annotations on its properties, then JSF displays the bean validation errors when the bean validation constraints are violated.

I wonder: 

* When is the entity validated?
* How is it handling/linking bean validation errors to the view?