QCon SF 2014 - Create and Deploy APIs using Web IDEs, Open Source Frameworks and Cloud Platforms

44 %
56 %
Information about QCon SF 2014 - Create and Deploy APIs using Web IDEs, Open Source...
Software

Published on November 6, 2014

Author: restlet

Source: slideshare.net

Description

This presentation explains how to develop a Web API in Java using (JAX-RS or Restlet API)
make an up-to-date web API documentation available online during crafting
manage access to this web API, including client SDKs generation, access management, firewall and analytics.
We will demonstrate how Restlet Platform provides a comprehensive solution combining the best of open source (Restlet Framework) and PaaS (Restlet APISpark) to solve web API needs.

1. QCon SF 2014 Create and Deploy APIs using Web IDEs, Open Source Frameworks and Cloud Platforms Presented by Jerome Louvel, Chief Geek

2. New API Landscape Multiplicity of HCI modes API project Always-on and instantaneous services Mobile and contextual access to services Cross-channel user experiences Cloud computing (IaaS) Semantic web (hyperdata)

3. Impacts on API development ● New types of APIs ○ internal & external APIs ○ composite & micro APIs ○ experience & open APIs ● Number of APIs increases ○ channels growth ○ history of versions ○ micro services pattern ○ quality of service ● → Industrialization needed ○ new development workflows User Interfaces (frontends) Experience APIs Composite APIs (domain services) Platform APIs (PaaS) (backends) Partner devs Infrastructure APIs (IaaS) Micro APIs (domain data & logic) Open APIs (public) End-users Micro APIs (external SaaS)

4. New API development workflows ● API-driven approach benefits ○ a pivot API descriptor ○ server skeletons & mock generation ○ up-to-date client SDKs & docs ○ rapid API crafting & implementation ● Code-first or API-first approaches ○ can be combined using ■ code introspectors to extract ■ code generators to resync API source code introspect generate API descriptor generate generate API docs Client SDKs

5. Crafting an API ● Specialized API crafting tools ○ code editors ○ visual designers ○ generation of ■ contract ■ client SDKs ■ skeletons ● New generation of tools ○ IDE-type ○ Web-based

6. ● Browser-based IDE for API crafting ○ accelerate the design of APIs ○ Chrome extension ○ compatible with other modern browsers ● Supports ○ visual design of APIs ○ source code views ○ APIs with large # of resources (sections) ○ skeleton and SDK generation ○ adherence to REST ○ multiple API languages (Swagger & RAML initially) Preview Launch November 18th Crafting an API with Restlet

7. Implementing an API ● Implementation using a RESTful API framework ○ Benefits ■ less mental gap compared to MVC & RPC frameworks ■ higher level than raw HTTP libraries (Servlet, Netty) ■ easier to use HTTP protocol features ■ open source (no lock-in) ○ Key features of an API framework ■ API descriptor/contract definition ● in Java, typically uses annotations ■ both client and server side support ■ make it easy or transparent to use HTTP features ■ performance and scalability Custom web API REST framework HTTP semantics HTTP / WebSocket transport

8. API Frameworks Landscape ● JAX-RS centric ○ Oracle Jersey ○ JBoss RESTeasy ○ DropWizard ○ Apache Wink ○ Apache CXF ● Alternative Java APIs ○ Restlet Framework ■ favor Restlet API ■ support JAX-RS API ○ REST.li ○ RESTx ○ REST Express ● JavaScript ○ Express.js

9. Implementing an API with Restlet ● All HTTP features supported ○ caching, content ranges & compression ○ content negotiation & conditional requests ○ confidentiality & authentication ○ all HTTP headers mapped to Java classes ● What’s New in v2.3? Version 2.3.0 launch ○ API introspector (Swagger, RAML, WADL) ○ API management (API firewall, APISpark integration) ○ @Status annotation (map Java exception & HTTP error) ○ CORS support (cross-origin access) ○ easier access to raw HTTP headers ○ upgrade to Jetty 9.2 with client-side support ○ compatible with Java 7, GWT 2.7, Android, GAE, Java EE, OSGi November 18th

10. Restlet-annotated Java interfaces

11. JAX-RS and Restlet APIs | Server-Side

12. JAX-RS and Restlet APIs | Client-Side

13. Deploying an API ● PaaS make it easier to deploy ○ less operational burden ○ cost and time effective to start then scale ○ more availability and lower latency ■ necessary for a global reach ● Generic Infrastructure PaaS ○ hosting and auto-scaling ○ good density thanks to VMs ○ better density thanks to containers (Docker) ● Specialized PaaS for APIs ○ add API management on top of the hosted API ○ integrate with Infrastructure PaaS ■ remote agent close to API or API wrapper

14. ● Typical Benefits ○ documentation ○ access control ○ firewall ○ adaptation ○ monetization ○ analytics ● APISpark Supports ○ APIs with large # of resources (sections) ○ skeleton and SDK generation ○ integration with Restlet Framework General Availability November 18th Managing an API

15. Conclusion ● APIs enable new abstracting layers ○ IaaS became a game changer thanks to APIs ■ S3, EC2, Route53, etc. ○ PaaS is the next game changer ■ thanks to APIs as well!

16. Thank you

Add a comment

Comments

Mahalia | 04/09/18
Big help, big help. And suptilaerve news of course.

Related presentations

Speaker: Matt Stine Developing for the Cloud Track Marc Andressen has famou...

1 App,

1 App,

November 10, 2014

How to bring innovation to your organization by streamlining the deployment proces...

Cisco Call-control solutions can handle voice, video and data

Nathan Sharp of Siemens Energy recently spoke at the SAP Project Management in Atl...

Related pages

Redondear cables ide scsi | Documents & Tips - Sharing is ...

... create an account now. ... QCon SF 2014 - Create and Deploy APIs using Web IDEs, Open Source Frameworks and Cloud Platforms.
Read more

Javamagazine mayo 2014 - pt.scribd.com

Revista java magazine mayo 2014. Browse Browse. Interests. Biography & Memoir; Business & Leadership; Fiction & Literature; Politics & Economy; Health ...
Read more

Support,support jobs - Stack Overflow

Support,support jobs - Stack Overflow. ... implement the new version of our APIs using technologies ... and they work with a number of open-source frameworks.
Read more

python jobs - Stack Overflow

... web frameworks, ... mobile and enterprise platforms using industry ... container clusters using Ansible. We encourage open source involvement and ...
Read more

Javamagazine20130102 Dl - scribd.com

... an open source Java ... by using the Web Service Client wizard ... choose Deploy. 2. Open the Web Service References ...
Read more

grn-static/stories_array.json at master · greenruby/grn ...

Personal Open source Business Explore Sign up Sign in. Pricing Blog Support Search GitHub. This repository. Watch 4 Star 11 Fork 2 ...
Read more

Programming Talks

... programming using three research platforms: ... Open Source Development ... and ambitious web applications. This talk at the SF HTML5 ...
Read more

NFJS - uberconf.com

The open source CometD project provides fast and ... using Cloud Foundry and BOSH. ... it provides Groovy developers with a way to create web apps without ...
Read more

Java Magazine - May/June 2015 - manualzz.com

Categories. Baby & children Computers & electronics Entertainment & hobby
Read more