RESTfull Web API Applications
Upcoming SlideShare
Loading in...5

RESTfull Web API Applications






Total Views
Slideshare-icon Views on SlideShare
Embed Views



4 Embeds 66 63 1 1 1



Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
Post Comment
Edit your comment

    RESTfull Web API Applications RESTfull Web API Applications Presentation Transcript

    • RESTful Web API Applications AppliGate Consultancy
    • Agenda● Need for Scaling Applications● Cloud Environment● RESTful Web Services
    • Need to scale and more...● At AppliGate we had the need for easy to build, to scale, and to maintain applications for the web ○ And... no adminstration burden● In the past: ○ Lotus Domino, then ○ Servlets + JSPs on Google App Engine● Nowadays: ○ RESTful Web API applications ○ Restlet framework + Java Data Objects (JDO) datastore on Google App Engine ○ JSON centric, Lotus Domino like but more
    • The CloudGoogle App Engine (GAE) is a platform as aservice (PaaS) cloud computing platform fordeveloping and hosting web applications inGoogle-managed data centers.● Scales as trafic and data storage grows● Up to 10 applications free ○ Quotas are resetted daily● Fees for additional storage, bandwidth, or instance hours ○ 99,95% SLA
    • GAE Java Runtime Environment● Java servlet standard● Sandboxed● Storing data ○ Java Data Objects and Java Persistence API● Blobstore● Memcache● CRON jobs● Googles Accounts authentication● Java Mail API● Full text search (experimental)
    • RESTful Web Services● Desertion Roy Fielding ○ Representational State Transfer (REST) ■ architectural principle of the world wide web ○ Easier to use than SOAP● RESTful Web applications ○ Use HTTP methods to create, update, read, and delete resources ○ Called RESTful Web Services or RESTful Web API● Stateless, and so very scalable
    • Example RESTful Web Service● ○ Application for recording event descriptions and scheduled events● Open Web API● REST principles using Restlet Framework ○ GET, POST, PUT, DELETE HTTP methods● JSON based representations● Multiple accounts● HTTPS● Documentation ○
    • Another Example● AppliGates web site is based on the Restlet framework ○ Supports all web features with REST ○ Java based ○ HTML and JSON (internal) representations ○ Multilingual: Dutch and English ○ Supports iPhone, Anroid and Blackberry ○ Runs on Google App Engine● Uses for the actual course schedule● JSON centric approach
    • JSON Centric Approach● Like Domino, but deeper nested structures● Create and update with a REST client● Field labels can be included (multilingual)
    • Need help?● AppliGate assists to build RESTful Web API applications running on Google App Engine● JSON centric● Proof of concept● Workshop●●