Helping Things to « REST » Web of Things Presentation, part II Dominique Guinard [email_address] Institute for Pervasive Computing, ETH Zurich Lenzerheide, January 2009
Service Oriented Architectures: The WS-* World [ WS Standards, http://www.innoq.com/soa]
Resource Oriented Architectures: The REST World
Resources.
Their names (URIs).
Their representations (JSON, XHTML)
Links between them.
A uniform interface (HTTP).
XHTML HTTP URI
Comparing the Two Worlds
SOA WS-* Approach
HTTP as transporter.
The comp-comp interface is a WSDL.
User Interface?
Testing: stub generation from a WSDL and lots of SOAP messages.
200 OK, 201 Create, 400 Bad Request, 401 Unauthorized
HTTP Body: The meat (or let’s say the carrots):
The content in its representation.
Thoughts and Buzz Use your brains! > don’t design-by-buzzword > don’t believe everything you read > always keep in mind that change is inevitable [ Fielding, Roy. “ A little REST and Relaxation” Jazoon 2007] Cache Authenticate Encrypt Link Share Reuse Stateless Lightweight IPv6 Lowpan Mobile Replicate Cloud Scale
0 comments
Post a comment