Web 2.0 and STAR

1,234 views

Published on

Web 2.0 and STAR standards.

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,234
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
4
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Web 2.0 and STAR

  1. 1. David Carver February 2, 2012 Web 2.0 and STAR
  2. 2. <ul><li>Architecture Workgroup </li></ul><ul><ul><li>Web Services 4.0 – Guidelines and Levels of compliance. </li></ul></ul><ul><ul><li>ebXML 2.0 </li></ul></ul><ul><li>Still multiple flavors, but tries to bring some order to the Rube Goldberge implementations of the various WS-* specifications. </li></ul><ul><li>Everybody has a slightly different requirement when it comes to security. </li></ul><ul><li>Industries never really agreed on what specifications were required. </li></ul>Web Services at STAR
  3. 5. WS-* Web Services Implementation
  4. 6. WS-* = Rube Goldberg Device
  5. 7. Web 2.0 the latest Buzzword?
  6. 9. Web 2.0 Services? <ul><li>HTTP Web Server </li></ul><ul><ul><li>GET, POST, UPDATE, DELETE, PUT </li></ul></ul><ul><li>URLs – /customer/13424/address </li></ul><ul><li>Data </li></ul><ul><ul><li>DTS </li></ul></ul><ul><ul><li>XML </li></ul></ul><ul><ul><li>JSON </li></ul></ul><ul><ul><li>Other </li></ul></ul><ul><li>Security </li></ul><ul><ul><li>HTTPS, oAuth, Policies. </li></ul></ul>
  7. 11. Web 2.0 – Preferred Data Format - JSON
  8. 12. <ul><li>How to support Web 2.0 with out Changing existing Services </li></ul><ul><ul><li>Seperate the Business logic from the Service </li></ul></ul><ul><ul><li>Seperate the Serialization/Deserialization of the Data from the Web Service </li></ul></ul><ul><li>Leverage Tools where appropriate </li></ul><ul><ul><li>Java – Axis 2, Turmeric SOA </li></ul></ul><ul><ul><ul><li>Seperate the serialization from the actual data by implementing pipelines for input and output. </li></ul></ul></ul><ul><ul><ul><li>Support for RESTful services, and SOAP services. </li></ul></ul></ul><ul><ul><li>.NET – leverage WCF-Rest (Windows Communication Foundation REST API) </li></ul></ul>Web 2.0 – Supporting Existing Services
  9. 13. <ul><li>Problems </li></ul><ul><ul><li>Multiple ways to represent XML data as JSON </li></ul></ul><ul><ul><li>Currently no set Standard representation </li></ul></ul><ul><ul><li>JSON format does not support some XML concepts natively. </li></ul></ul><ul><li>Solutions? </li></ul><ul><ul><li>JSON Schemas </li></ul></ul><ul><ul><ul><li>Does for JSON what Xml Schemas does for XML. Provides the semantics and contract for the data binding.. </li></ul></ul></ul><ul><ul><li>Currently an IETF Draft specification - http://tools.ietf.org/html/draft-zyp-json-schema-03 </li></ul></ul>Web 2.0 – Supporting Existing Services
  10. 14. <ul><li>Do we think more about the data and services and less about documents? </li></ul><ul><li>Think about the Data – I.e Customer, Vehicle, Engine, Truck, Trailer, Boat, Party. </li></ul><ul><ul><li>STAR has this today, we just need to expose it easier as individual Services. </li></ul></ul><ul><li>Think about the Domains – Human Resources, Customer Relationship, Dealer Relations </li></ul><ul><li>Don't think in terms of Repair Order, Vehicle Delivery, Sales Order, Credit Application. Think about data needed. </li></ul><ul><ul><li>These are results of combining data from several individual services. </li></ul></ul><ul><li>Leverage the data format specifications to their best ability. Not everything fits into every format. </li></ul>Web 2.0 – Rethink the Document Approach.
  11. 15. <ul><li>Identify STAR recommendations for RESTful web service implementations. </li></ul><ul><li>Identify appropriate Security standards and guidelines around implementation. </li></ul><ul><li>Generate or create JSON Schemas to document the semantics of the JSON data. </li></ul><ul><li>Identify what that data structure looks like. </li></ul><ul><ul><li>Does STAR just translate existing XML messages to JSON </li></ul></ul><ul><ul><li>JSON does not handle namespaces natively, how to deal with namespaces? Extensions? Which JSON XML extension? </li></ul></ul><ul><li>Look at what OAGi and other standards groups are doing. </li></ul><ul><li>Open Source any work in regards to utilities and tooling developed. Involve the larger community. </li></ul>Web 2.0 – Suggested Steps Forward
  12. 16. <ul><li>STARWS-Turmeric </li></ul><ul><ul><li>Leverages the Turmeric SOA ( www.ebayopensource.org/index.php/Turmeric/HomePage ) project. </li></ul></ul><ul><ul><li>Implements a very basic STAR WS 4.0 Level 1 implementation </li></ul></ul><ul><ul><li>Supports, SOAP 1.1, XML, JSON, Name Value, and XMLInfoSet data formats. </li></ul></ul><ul><ul><li>Supports SOAP Protocol as well as RESTful implementation </li></ul></ul><ul><ul><li>Source Code: https://github.com/kingargyle/starws-turmeric </li></ul></ul><ul><ul><li>Looking for Contributions. </li></ul></ul>STAR Sample Implementation?

×