Hi,

I was trying to write validation wrapper for RESTFul service. One approach which I used was using aop:aspect to call validate method (using Spring Validator F/W) before controllers methods are invoked (using custom anotation to facilitate the same). This is working ok (TODO - Validation Exception formatting/Customization) . Is there better way to do the same? Can I do the same using filters in Spring (request can come as JSON or XML) ? Please suggest.

-Shishir