REST & Caching: Web Services, Accelerated - innoQ

0 downloads 144 Views 982KB Size Report
Oct 6, 2009 - GET /service/customers/1234 HTTP 1.1. Host: www.example.com. User-Agent: XYZ 1.1. Accept: text/html,applic
REST & Caching: Web Services, Accelerated JAOO 2009 Stefan Tilkov, innoQ

Tuesday, October 6, 2009

Reliable Asynchronous Messaging Profile (RAMP)

Version 3.0* · February 2007

1.0 WS-I Working Draft

http://rest-http.info

Tuesday, October 6, 2009

http://soa-expertenwissen.de

innoQ Deutschland GmbH innoQ Schweiz GmbH Halskestraße 17 Gewerbestrasse 11 D-40880 Ratingen CH-6330 Cham Phone +49 21 02 77 162-100 Phone +41 41 743 0111 [email protected] · www.innoq.com

[email protected] http://www.innoq.com/blog/st/ @stilkov

The REST Uniform Interface

identification of resources

Tuesday, October 6, 2009

resource manipulation through representations

hypermedia as the engine of application state

self-descriptive messages

The REST Uniform Interface identification of resources

resource manipulation through representations

hypermedia as the engine of application state

self-descriptive messages

http://example.com/orders?year=2008 http://example.com/customers/1234 http://example.com/orders/2007/10/776654 http://example.com/products/4554 http://example.com/processes/sal-increase-234

Tuesday, October 6, 2009

The REST Uniform Interface identification of resources

resource manipulation through representations

hypermedia as the engine of application state

self-descriptive messages

GET /customers/1234 Host: example.com Accept: application/vnd.mycompany.customer+xml ... GET /customers/1234 Host: example.com Accept: text/x-vcard begin:vcard ... end:vcard Tuesday, October 6, 2009

The REST Uniform Interface identification of resources

resource manipulation through representations

hypermedia as the engine of application state

self-descriptive messages

23 /?@ AB(C/D> $%&'(E$"*6;"2C/3%FE%B(GH>> I(22"/J";2+< !"#

Tuesday, October 6, 2009

$%&'(

!%&)(*+

Validation

Tuesday, October 6, 2009

!"#

%$&'$(%

)'$*%+,

-./012%"$34% -./012%"$34% 5%+%6'7%08'"#,'7369: ;??0@A B'97CD3,#E#%,F0/G%H0>I0@$7JJJ ./'5F0'K%LMM'E, ??0@A &'$(%B&3+763"C04'DB'5%EF? G'97BH3,#I#%,C0/J%K0>L0@$7MMM