composing json-based web apis
DESCRIPTION
Slides from our presentation of the paper "Composing JSON-based Web APIs" at ICWE 2014TRANSCRIPT
![Page 1: Composing JSON-based Web APIs](https://reader033.vdocument.in/reader033/viewer/2022052621/5582ec7bd8b42a38168b474f/html5/thumbnails/1.jpg)
Composing JSON-based Web APIs
Javier Luis Cánovas Izquierdo, Jordi Cabot
{javier.canovas,jordi.cabot}@inria.fr
ICWE ConferenceJuly 2014
![Page 2: Composing JSON-based Web APIs](https://reader033.vdocument.in/reader033/viewer/2022052621/5582ec7bd8b42a38168b474f/html5/thumbnails/2.jpg)
Web APIs as main citizen
![Page 3: Composing JSON-based Web APIs](https://reader033.vdocument.in/reader033/viewer/2022052621/5582ec7bd8b42a38168b474f/html5/thumbnails/3.jpg)
Web APIs as main citizen
![Page 4: Composing JSON-based Web APIs](https://reader033.vdocument.in/reader033/viewer/2022052621/5582ec7bd8b42a38168b474f/html5/thumbnails/4.jpg)
Web APIs as main citizen
![Page 5: Composing JSON-based Web APIs](https://reader033.vdocument.in/reader033/viewer/2022052621/5582ec7bd8b42a38168b474f/html5/thumbnails/5.jpg)
Web APIs as main citizen
JSO
N
JSO
N
JSO
N
![Page 6: Composing JSON-based Web APIs](https://reader033.vdocument.in/reader033/viewer/2022052621/5582ec7bd8b42a38168b474f/html5/thumbnails/6.jpg)
Web APIs as main citizen
JSO
N
JSO
N
JSO
N
… a.k.a. JavaScript Object Notation…
…a text-based open standard designed for human-readable data interchange…
…derived from the JavaScript scripting language for representing simple data structures and associative arrays, called objects…
JSON
![Page 7: Composing JSON-based Web APIs](https://reader033.vdocument.in/reader033/viewer/2022052621/5582ec7bd8b42a38168b474f/html5/thumbnails/7.jpg)
Web APIs as main citizen
JSO
N
JSO
N
JSO
N
… a.k.a. JavaScript Object Notation…
…a text-based open standard designed for human-readable data interchange…
…derived from the JavaScript scripting language for representing simple data structures and associative arrays, called objects…
JSON
Schemaless
![Page 8: Composing JSON-based Web APIs](https://reader033.vdocument.in/reader033/viewer/2022052621/5582ec7bd8b42a38168b474f/html5/thumbnails/8.jpg)
Application Example
![Page 9: Composing JSON-based Web APIs](https://reader033.vdocument.in/reader033/viewer/2022052621/5582ec7bd8b42a38168b474f/html5/thumbnails/9.jpg)
Application Example
S1
S2
S1
S2
S1
S2
S1
S2
S1 S2
S1 S2
![Page 10: Composing JSON-based Web APIs](https://reader033.vdocument.in/reader033/viewer/2022052621/5582ec7bd8b42a38168b474f/html5/thumbnails/10.jpg)
Application Example
S1
S2
?S1 S2
![Page 11: Composing JSON-based Web APIs](https://reader033.vdocument.in/reader033/viewer/2022052621/5582ec7bd8b42a38168b474f/html5/thumbnails/11.jpg)
![Page 12: Composing JSON-based Web APIs](https://reader033.vdocument.in/reader033/viewer/2022052621/5582ec7bd8b42a38168b474f/html5/thumbnails/12.jpg)
Our approach
![Page 13: Composing JSON-based Web APIs](https://reader033.vdocument.in/reader033/viewer/2022052621/5582ec7bd8b42a38168b474f/html5/thumbnails/13.jpg)
![Page 14: Composing JSON-based Web APIs](https://reader033.vdocument.in/reader033/viewer/2022052621/5582ec7bd8b42a38168b474f/html5/thumbnails/14.jpg)
![Page 15: Composing JSON-based Web APIs](https://reader033.vdocument.in/reader033/viewer/2022052621/5582ec7bd8b42a38168b474f/html5/thumbnails/15.jpg)
![Page 16: Composing JSON-based Web APIs](https://reader033.vdocument.in/reader033/viewer/2022052621/5582ec7bd8b42a38168b474f/html5/thumbnails/16.jpg)
![Page 17: Composing JSON-based Web APIs](https://reader033.vdocument.in/reader033/viewer/2022052621/5582ec7bd8b42a38168b474f/html5/thumbnails/17.jpg)
![Page 18: Composing JSON-based Web APIs](https://reader033.vdocument.in/reader033/viewer/2022052621/5582ec7bd8b42a38168b474f/html5/thumbnails/18.jpg)
![Page 19: Composing JSON-based Web APIs](https://reader033.vdocument.in/reader033/viewer/2022052621/5582ec7bd8b42a38168b474f/html5/thumbnails/19.jpg)
Not enough…
flickr/koalazymonkey
• Generating the glue code for the composition
• Ideas from database and XML-based approaches
Process improvement
• Scalability issues• Some metrics: effectiveness,
coverage, etc.
Process evaluation
![Page 20: Composing JSON-based Web APIs](https://reader033.vdocument.in/reader033/viewer/2022052621/5582ec7bd8b42a38168b474f/html5/thumbnails/20.jpg)
Check it out!https://github.com/atlanmod/json-discoverer/
Except where otherwise noted, content on this presentation is licensed under a Creative Commons Attribution 3.0 License.
Do you wanna try?