Tuesday, March 31, 2009

Spring 3 and REST

After listening to Rod Johnson's interview on the JavaPosse, I was trying to catch up with the Spring 3 improvements and I found this blog entry about the upcoming REST support, which seems pretty interesting:

http://blog.springsource.com/2009/03/08/rest-in-spring-3-mvc/

I really liked the workaround for HTML only supporting GET/POST. Other operations are added as a field (e.g. "_method") and Spring has a servlet filter (
HiddenHttpMethodFilter) to change to the desired method.
Post a Comment