O'Reilly logo

Spring Web Services 2 Cookbook by Shameer Kunjumohamed, Hamidreza Sattari

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 9. RESTful Web-Services

In this chapter, we will cover:

  • Setting up a Spring RESTful Web-Service, using RESTful features in Spring MVC

  • Using the RESTClient tool to access a Spring RESTful Web-Service

  • Setting up a Spring RESTful Web-Service using HTTP message conversion

  • Creating a WS client for the Spring RESTful Web-Service using Spring template classes

Introduction

Simple Object Access Protocol (SOAP) allows applications to communicate with one another using XML as the communication format (SOAP is well understood), but because it is XML-based, it tends to be verbose, even for very simple Web-Service scenarios.

Representational State Transfer (REST), published as a doctoral dissertation by Roy Fielding in 2000, aimed at simplifying the usage ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required