I found this blog about "where the validation should take place".
I always felt that the validation belongs to the domain.
I think that the best solution would be to have one/several validation rules, in the domain,
which are used by the controllers.
Also Martin Fowler blogs about it, and check the Hibernate Validator.
Thursday, December 15, 2005
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment