End of WS* and REST Solution

1,508 views

Published on

Published in: Business, Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,508
On SlideShare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
55
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide
  • SPEAKING POINTS
  • End of WS* and REST Solution

    1. 1. © 2004 – 2009 , Meruvian Foundation. All rights reserved. Proprietary and Confidential Frans Thamura frans@meruvian.org End of WS* and RESTEnd of WS* and REST v 2.3v 2.3
    2. 2. © 2004 – 2009 , Meruvian Foundation. All rights reserved. Proprietary and Confidential - Not to be Copied or Distributed. • BlueOxygen Marketplace (www.blueoxygen.net)‫‏‬ - Founder - Open Source Project on Java, since 2001. • JUG Indonesia (http://www.jug.or.id)‫‏‬ - Founder • Meruvian Group (http://www.meruvian.org)‫‏‬ - Founder • jTechnopreneur (http://www.jtechnopreneur)‫‏‬ - Founder • JENI Advisory Board • Oracle Ace Director • Sun Java Champion* Who is Frans Thamura?Who is Frans Thamura?
    3. 3. © 2004 – 2009 , Meruvian Foundation. All rights reserved. Proprietary and Confidential - Not to be Copied or Distributed. Web Services Dead End?Web Services Dead End?
    4. 4. © 2004 – 2009 , Meruvian Foundation. All rights reserved. Proprietary and Confidential - Not to be Copied or Distributed.
    5. 5. © 2004 – 2009 , Meruvian Foundation. All rights reserved. Proprietary and Confidential - Not to be Copied or Distributed. SOAPSOAP <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soa p/envelope/"> <soap:Header/> <soap:Body> <getProductDetails xmlns="http://wareh.example.com/ws“> <productID>827635</productID> </getProductDetails> </soap:Body> </soap:Envelope>
    6. 6. © 2004 – 2009 , Meruvian Foundation. All rights reserved. Proprietary and Confidential - Not to be Copied or Distributed. What is REST?What is REST? • REpresentational State Transfer – Coined by Roy Fielding in his PhD thesis – Identified as the “true architecture of the web” • The basic concept is that everything is a “Resource” – The HTTP verbs allow transfer of a specific representation (e.g.HTML, XML) of the resource – POST, GET, PUT, DELETE – Create, Read, Update, Delete
    7. 7. © 2004 – 2009 , Meruvian Foundation. All rights reserved. Proprietary and Confidential - Not to be Copied or Distributed. REST ExampleREST Example http://company.com/crm/customer/123456 POST /crm/customer “Create a new customer, return URI as Location Header” PUT /crm/customer/123456 Content-Type: application/xml “Update customer with XML” GET /crm/customer/123456 Accept: application/xml “Give me the XML for this customer” DELETE /crm/customer/123456 “Remove this customer from active list and archive”
    8. 8. © 2004 – 2009 , Meruvian Foundation. All rights reserved. Proprietary and Confidential - Not to be Copied or Distributed. REST is just CRUDREST is just CRUD HTTP SQL CRUD POST INSERT Create GET SELECT Read PUT UPDATE Update DELETE DELETE Delete
    9. 9. © 2004 – 2009 , Meruvian Foundation. All rights reserved. Proprietary and Confidential - Not to be Copied or Distributed. BlueOxygen Workspace Platform 2.0BlueOxygen Workspace Platform 2.0 Cimande 2.0Cimande 2.0 Spring Struts2 Hibernate RESTfull JSONJSON http://example.com/customers/1234 http://example.com/orders/2007/10/776654 http://example.com/products/4554 http://example.com/processes/sal-increase-234
    10. 10. © 2004 – 2009 , Meruvian Foundation. All rights reserved. Proprietary and Confidential - Not to be Copied or Distributed.
    11. 11. © 2004 – 2009 , Meruvian Foundation. All rights reserved. Proprietary and Confidential - Not to be Copied or Distributed. Devoxx Schedule with REST and ClientsDevoxx Schedule with REST and Clients HTML5 Android JavaFX iPhone
    12. 12. © 2004 – 2009 , Meruvian Foundation. All rights reserved. Proprietary and Confidential - Not to be Copied or Distributed. Resource: Photos Where: v http://farm{farm-id}.static.flickr.com/{server-id}/ {id}_{secret}.jpg v http://farm{farm-id}.static.flickr.com/{server-id}/ {id}_{secret}_[mstb].jpg v http://farm{farm-id}.static.flickr.com/{server-id}/{id}_{o- secret}_o.(jpg|gif|png) http://farm1.static.flickr.com/2/1418878_1e92283336_m.jpg Real Life: Flickr APIReal Life: Flickr API
    13. 13. © 2004 – 2009 , Meruvian Foundation. All rights reserved. Proprietary and Confidential - Not to be Copied or Distributed. Meruvian TechnologyMeruvian Technology
    14. 14. © 2004 – 2009 , Meruvian Foundation. All rights reserved. Proprietary and Confidential - Not to be Copied or Distributed. • HTTP 1.0/1.1, PEP, HTML, XHTML • Media Types, MIME, S/MIME • JSR 311 – JARWS • POST Once Exactly • SSL/TLS • URL, URI, URN, IRI • WebDav, DeltaV • XForms, XML, XML Schema, XPath, XSLT, CSS • JSON • WebAPI, XMLHttpRequest, AJAX, Comet • RDDL, Microformats, GRDDL, etc… • Atom, Atom Publishing Protocol, GData, etc… • RFCs 1945, 2068, 2069, 2109, 2145, 2169, 2227, 2295, 2296, 2518, 2616, 2617, 2774, 2817, 2818, 2935, 2936, 2964, 2965, 3143, 3205, 3229, 3230, 3310, 4130, 4169, 4229, 4236, 4387, 4559, 4918… • REST SpecificationREST Specification
    15. 15. © 2004 – 2009 , Meruvian Foundation. All rights reserved. Proprietary and Confidential - Not to be Copied or Distributed. Questions..Questions..
    16. 16. © 2004 – 2009 , Meruvian Foundation. All rights reserved. Proprietary and Confidential Contact PersonContact Person Frans ThamuraFrans Thamura frans@meruvian.orgfrans@meruvian.org

    ×