In the Java world, you can build a RESTful web service in several ways: Some folks use JSR 311(JAX-RS) and its reference implementation Jersey, others use the Restlet framework, and some might even implement from scratch. Spring, the well-known framework for building Java EE applications, now supports REST in its MVC layer. This article introduces the "Spring way" to build RESTful web services. Learn how to use Spring APIs and annotations to build RESTful web services, and see how Spring integrates this new feature seamlessly into its original framework.



Comments
kdonald replied ago:
Good article, but it lacks coverage of Spring MVC's HttpMessageConverter feature. This feature is the basis for the @ResponseBody/@RequestBody elements of the programming model that are designed for implementing REST-based web services. The following Spring MVC showcase covers this comprehensively: http://blog.springsource.com/2010/07/22/spring-mvc-3-showcase/.
Voters For This Link (21)
Voters Against This Link (0)