10

Click here to load reader

RESTful Web Services

Embed Size (px)

DESCRIPTION

Presentation for EEDC course. EMDC, FIB UPC

Citation preview

Page 1: RESTful Web Services

Why use SOAP when you can REST?

Emmanouil Dimogerontakis, [email protected]

Page 2: RESTful Web Services

WEB RESTs 

       REST is the key architectural principle of WEBRoy T. Fielding. “A little REST and Relaxation.” ApacheCon Europe, 10 April 2008  

Page 3: RESTful Web Services

REST is CRUD 

       So what?

Page 4: RESTful Web Services

The truth about the world! 

● There are no applications you can think of which cannot be made to fit into the GET / PUT / POST /DELETE resources / representations model of the world!

 ● Other interfaces considered harmful

because they increase the costs of consuming particular service

  

Page 5: RESTful Web Services

What REST offers? 

● Unlike SOAP and XML-RPC, REST does not require a new message format

 ● Easy to build - no toolkits required ● Lightweight ● Human Readable Results

Page 6: RESTful Web Services

What the rest of the architectures offer?

 ● Break Web architecture ● Significantly higher coordination costs ● Don't scale well  

Page 7: RESTful Web Services

REST - the trendy way to build WEB services

        John Musser, Open APIs and the Semantic Web,Semtech 2011

Page 8: RESTful Web Services

RESTful Web Services 

   

Page 9: RESTful Web Services

The Future is here 

Vision:A World Wide Web that runs on one set of

servers, uses one set of protocols, and obeys one set of design principlesHow:

Resource Oriented Architecture(ROA) through REST.

Page 10: RESTful Web Services

So it is time to ... REST