Kim Dalsgaard. Co-owner of, and Software Designer at Trifork Athene Co-founder of Aarhus Ruby Brigade

Size: px
Start display at page:

Download "Kim Dalsgaard. Co-owner of, and Software Designer at Trifork Athene Co-founder of Aarhus Ruby Brigade"

Transcription

1 Kim Dalsgaard Co-owner of, and Software Designer at Trifork Athene Co-founder of Aarhus Ruby Brigade

2 REST in Ruby How Ruby can support a RESTful architecture

3 What is REST?

4 REST is first described in Roy Fielding s PhD dissertation

5 Architectural Styles and the Design of Network-based Software Architectures

6 REST is one of these architectural styles

7 What is an architectural style?

8 An architectural style is about constraints

9 What is the constraints for REST?

10 Key constraints Identifiable resources Uniform interface Stateless communication Resource representations Hypermedia

11 Identifiable resources A resource represents a real or virtual entity Identified by URIs Each URI adds value to the Net as a whole

12 Uniform interface GET POST PUT DELETE and some more

13 Stateless communication A server does not need to maintain state for each client Massive advantages in terms of scalability Enforces loose coupling (no shared session knowledge)

14 Resource representations Resources are always accessed through a representation Resources should be represented using well-known (standardized) content types HTTP provides content types and content negotiation

15 Hypermedia Possible state transitions are made explicit through links Links are always provided by the server, not created by the client (low coupling again)

16 REST Servers

17 How can the Ruby web frameworks help us with the REST constraints?

18 Identifiable resources - mapping of URLs to controllers and parameters

19 Uniform interface - mapping of HTTP verbs to actions

20 Stateless communication - switching off the session store

21 Resource representations - executing code according to content type

22 Hypermedia - creating URLs from objects

23 REST and Rails

24 The resource and resources methods for routing

25

26

27

28

29 The respond_to method for executing code according to content type

30

31 The magic _url methods for creating URL s from objects

32

33 The session method for turning off sessions

34

35 REST and Merb

36 The resource and resources methods for routing

37

38

39

40 The provides and display methods for rendering objects

41 The provides method for registering mimetypes to render

42 The display method for rendering objects

43

44 The url methods for creating URLs from objects

45

46 The :session_store configuration key for turning off sessions

47

48 REST Clients

49 How can the Ruby HTTP client libraries help us with the REST constraints?

50 Identifiable resources - holding resource identity

51 Uniform interface - mapping of HTTP verbs to method calls

52 Stateless communication - a server responsibility

53 Resource representations - setting the Accept header

54 Hypermedia - fetching and following URLs

55 REST and Net::HTTP

56

57 Too low level!

58 REST and rest-open-uri

59

60 URI objects holding resource identity HTTP verbs mapped to key/value pair in options Hash Low level access the Accept header No fetching and following URLs

61 REST and RestClient

62

63 Resource objects holding resource identity HTTP verbs mapped to methods Easy to set the Accept header No fetching and following URLs Buggy post method!

64 REST and ActiveResource

65

66 Base objects holding resource identity HTTP verbs mapped to alternative methods Fetching and following URLs Possible to change the serialization format

67 Links are not provided by the server, but created by the client! Too much additional protocol

68 Questions?

RESTful Services. Distributed Enabling Platform

RESTful Services. Distributed Enabling Platform RESTful Services 1 https://dev.twitter.com/docs/api 2 http://developer.linkedin.com/apis 3 http://docs.aws.amazon.com/amazons3/latest/api/apirest.html 4 Web Architectural Components 1. Identification:

More information

Restful applications using Spring MVC. Kamal Govindraj TenXperts Technologies

Restful applications using Spring MVC. Kamal Govindraj TenXperts Technologies Restful applications using Spring MVC Kamal Govindraj TenXperts Technologies About Me Programming for 13 Years Architect @ TenXperts Technologies Trainer / Consultant @ SpringPeople Technologies Enteprise

More information

SOA & REST. Ola Angelsmark

SOA & REST. Ola Angelsmark SOA & REST Ola Angelsmark What is SOA? Service oriented architecture A loosely-coupled architecture designed to meet the business needs of the organization. [1] SOAP

More information

ENTERPRISE SOA CONFERENCE

ENTERPRISE SOA CONFERENCE BELGIAN JAVA USER GROUP PRESENTS ENTERPRISE SOA CONFERENCE 2 4 O c t o b e r 2 0 0 6, D e M o n t i l, A f f l i g e m REST - the Better Web Services Model Stefan Tilkov Founder & Principal Consultant

More information

REST. And now for something completely different. Mike amundsen.com

REST. And now for something completely different. Mike amundsen.com REST And now for something completely different Mike Amundsen @mamund amundsen.com Preliminaries Mike Amundsen Developer, Architect, Presenter Hypermedia Junkie I program the Internet Designing Hypermedia

More information

Develop Mobile Front Ends Using Mobile Application Framework A - 2

Develop Mobile Front Ends Using Mobile Application Framework A - 2 Develop Mobile Front Ends Using Mobile Application Framework A - 2 Develop Mobile Front Ends Using Mobile Application Framework A - 3 Develop Mobile Front Ends Using Mobile Application Framework A - 4

More information

REST Easy with Infrared360

REST Easy with Infrared360 REST Easy with Infrared360 A discussion on HTTP-based RESTful Web Services and how to use them in Infrared360 What is REST? REST stands for Representational State Transfer, which is an architectural style

More information

Introduction to REST. Kenneth M. Anderson University of Colorado, Boulder CSCI 7818 Lecture 6 08/27/2008. University of Colorado 2008

Introduction to REST. Kenneth M. Anderson University of Colorado, Boulder CSCI 7818 Lecture 6 08/27/2008. University of Colorado 2008 Introduction to REST Kenneth M. Anderson University of Colorado, Boulder CSCI 7818 Lecture 6 08/27/2008 University of Colorado 2008 Credit Where Credit is Due Portions of this lecture are derived from

More information

ReST 2000 Roy Fielding W3C

ReST 2000 Roy Fielding W3C Outline What is ReST? Constraints in ReST REST Architecture Components Features of ReST applications Example of requests in REST & SOAP Complex REST request REST Server response Real REST examples REST

More information

REST AND AJAX. Introduction. Module 13

REST AND AJAX. Introduction. Module 13 Module 13 REST AND AJAX Introduction > Until now we have been building quite a classic web application: we send a request to the server, the server processes the request, and we render the result and show

More information

Service Oriented Architectures (ENCS 691K Chapter 2)

Service Oriented Architectures (ENCS 691K Chapter 2) Service Oriented Architectures (ENCS 691K Chapter 2) Roch Glitho, PhD Associate Professor and Canada Research Chair My URL - http://users.encs.concordia.ca/~glitho/ The Key Technologies on Which Cloud

More information

Services Web Nabil Abdennadher

Services Web Nabil Abdennadher Services Web Nabil Abdennadher nabil.abdennadher@hesge.ch 1 Plan What is Web Services? SOAP/WSDL REST http://www.slideshare.net/ecosio/introduction-to-soapwsdl-and-restfulweb-services/14 http://www.drdobbs.com/web-development/restful-web-services-a-tutorial/

More information

Roy Fielding s PHD Dissertation. Chapter s 5 & 6 (REST)

Roy Fielding s PHD Dissertation. Chapter s 5 & 6 (REST) Roy Fielding s PHD Dissertation Chapter s 5 & 6 (REST) Architectural Styles and the Design of Networkbased Software Architectures Roy Fielding University of California - Irvine 2000 Chapter 5 Representational

More information

04 Webservices. Web APIs REST Coulouris. Roy Fielding, Aphrodite, chp.9. Chp 5/6

04 Webservices. Web APIs REST Coulouris. Roy Fielding, Aphrodite, chp.9. Chp 5/6 04 Webservices Web APIs REST Coulouris chp.9 Roy Fielding, 2000 Chp 5/6 Aphrodite, 2002 http://www.xml.com/pub/a/2004/12/01/restful-web.html http://www.restapitutorial.com Webservice "A Web service is

More information

Other architectures are externally built or expanded

Other architectures are externally built or expanded RESTful interfaces http://rest.elkstein.org/ (but not Section 11) http://net.tutsplus.com/tutorials/other/a-beginners-introduction-to-http-and-rest/ and for a laugh (or cry) : http://www.looah.com/source/view/2284

More information

INFO/CS 4302 Web Informa6on Systems

INFO/CS 4302 Web Informa6on Systems INFO/CS 4302 Web Informa6on Systems FT 2012 Week 7: RESTful Webservice APIs - Bernhard Haslhofer - 2 3 4 Source: hmp://www.blogperfume.com/new- 27- circular- social- media- icons- in- 3- sizes/ 5 Plan

More information

OVERVIEW OF ETSI M2M RELEASE 1 STAGE 3 API AND RESOURCE USAGE

OVERVIEW OF ETSI M2M RELEASE 1 STAGE 3 API AND RESOURCE USAGE OVERVIEW OF ETSI M2M RELEASE 1 STAGE 3 API AND RESOURCE USAGE Presented by Guang Lu, WG3 Rapporteur, InterDigital Outline TS 102 921 overview ETSI M2M reference points ETSI M2M resource tree ETSI M2M API

More information

WWW, REST, and Web Services

WWW, REST, and Web Services WWW, REST, and Web Services Instructor: Yongjie Zheng Aprile 18, 2017 CS 5553: Software Architecture and Design World Wide Web (WWW) What is the Web? What challenges does the Web have to address? 2 What

More information

Applied REST. Brian Sletten Bosatsu Consulting, Inc.

Applied REST. Brian Sletten Bosatsu Consulting, Inc. Applied REST Brian Sletten Bosatsu Consulting, Inc. brian@bosatsu.net Speaker Qualifications Over 13 years of software development experience Has own software consulting company for design, mentoring,

More information

Courslets, a golf improvement web service. Peter Battaglia

Courslets, a golf improvement web service. Peter Battaglia Courslets, a golf improvement web service Peter Battaglia Discussion Project Overview Design and Technologies Utilized Rails and REST URLs, URLs, URLs Rails and Web Services What s s exposed as a service?

More information

Web Services Week 10

Web Services Week 10 Web Services Week 10 Emrullah SONUÇ Department of Computer Engineering Karabuk University Fall 2017 1 Recap BPEL Process in Netbeans RESTful Web Services Introduction to Rest Api 2 Contents RESTful Web

More information

HTTP, REST Web Services

HTTP, REST Web Services HTTP, REST Web Services Martin Ledvinka martin.ledvinka@fel.cvut.cz Winter Term 2018 Martin Ledvinka (martin.ledvinka@fel.cvut.cz) HTTP, REST Web Services Winter Term 2018 1 / 36 Contents 1 HTTP 2 RESTful

More information

A Comparison of Service-oriented, Resource-oriented, and Object-oriented Architecture Styles

A Comparison of Service-oriented, Resource-oriented, and Object-oriented Architecture Styles A Comparison of Service-oriented, Resource-oriented, and Object-oriented Architecture Styles Jørgen Thelin Chief Scientist Cape Clear Software Inc. Abstract The three common software architecture styles

More information

HTTP Communication on Tizen

HTTP Communication on Tizen HTTP Communication on Tizen Spring 2015 Soo Dong Kim, Ph.D. Professor, Department of Computer Science Software Engineering Laboratory Soongsil University Office 02-820-0909 Mobile 010-7392-2220 sdkim777@gmail.com

More information

Apache Wink Developer Guide. Draft Version. (This document is still under construction)

Apache Wink Developer Guide. Draft Version. (This document is still under construction) Apache Wink Developer Guide Software Version: 1.0 Draft Version (This document is still under construction) Document Release Date: [August 2009] Software Release Date: [August 2009] Apache Wink Developer

More information

REST A brief introduction

REST A brief introduction REST A brief introduction Juergen Brendel What is it good for? Something with networks: APIs Interactions Distributed systems? All contents Copyright 2010, Mulesoft Inc. 2 Getting more popular All contents

More information

A Pragmatic Introduction to REST. Stefan Tilkov,

A Pragmatic Introduction to REST. Stefan Tilkov, A Pragmatic Introduction to REST Stefan Tilkov, stefan.tilkov@innoq.com Stefan Tilkov http://www.innoq.com stefan.tilkov@innoq.com http://www.innoq.com/blog/st/ http://www.infoq.com Audience Poll How many

More information

REST for SOA. Stefan Tilkov, innoq Deutschland GmbH

REST for SOA. Stefan Tilkov, innoq Deutschland GmbH REST for SOA Stefan Tilkov, innoq Deutschland GmbH stefan.tilkov@innoq.com Contents An Introduction to REST Why REST Matters REST And Web Services Recommendations Stefan Tilkov http://www.innoq.com stefan.tilkov@innoq.com

More information

Copyright 2012, Oracle and/or its affiliates. All rights reserved.

Copyright 2012, Oracle and/or its affiliates. All rights reserved. 1 JAX-RS-ME Michael Lagally Principal Member of Technical Staff, Oracle 2 CON4244 JAX-RS-ME JAX-RS-ME: A new API for RESTful web clients on JavaME This session presents the JAX-RS-ME API that was developed

More information

INF5750. RESTful Web Services

INF5750. RESTful Web Services INF5750 RESTful Web Services Recording Audio from the lecture will be recorded! Will be put online if quality turns out OK Outline REST HTTP RESTful web services HTTP Hypertext Transfer Protocol Application

More information

Designing RESTful Web Applications. Ben Ramsey

Designing RESTful Web Applications. Ben Ramsey Designing RESTful Web Applications Ben Ramsey About Me Proud father of 3-month-old Sean Organizer of Atlanta PHP user group Founder of PHP Groups Founding principal of PHP Security Consortium Original

More information

Copyright 2014 Blue Net Corporation. All rights reserved

Copyright 2014 Blue Net Corporation. All rights reserved a) Abstract: REST is a framework built on the principle of today's World Wide Web. Yes it uses the principles of WWW in way it is a challenge to lay down a new architecture that is already widely deployed

More information

RESTful Web services

RESTful Web services A Seminar report on RESTful Web services Submitted in partial fulfillment of the requirement for the award of degree Of Computer Science SUBMITTED TO: SUBMITTED BY: www.studymafia.org www.studymafia.org

More information

Life on the Web is fast and furious should we be more RESTful?

Life on the Web is fast and furious should we be more RESTful? Life on the Web is fast and furious should we be more RESTful? Gerhard Bayer Senior Consultant International Systems Group, Inc. gbayer@isg-inc.com http://www.isg-inc.com Agenda Today Overview of REST

More information

Dynamic Composition of REST services

Dynamic Composition of REST services I CONCURSO LATINOAMERICANO DE TESIS DE DOCTORADO, OCTUBRE 2015 1 Dynamic Composition of REST services Jesus Bellido Abstract Service composition is one of the principles of service-oriented architecture;

More information

REST API s in a CA Plex context. API Design and Integration into CA Plex landscape

REST API s in a CA Plex context. API Design and Integration into CA Plex landscape REST API s in a CA Plex context API Design and Integration into CA Plex landscape Speaker Software Architect and Consultant at CM First AG, Switzerland since 2008 having 30+ years of experience with the

More information

Lesson 15 SOA with REST (Part II)

Lesson 15 SOA with REST (Part II) Lesson 15 SOA with REST (Part II) Service Oriented Architectures Security Module 3 - Resource-oriented services Unit 1 REST Ernesto Damiani Università di Milano REST Design Tips 1. Understanding GET vs.

More information

PS/2 Web Services

PS/2 Web Services 703128 PS/2 Web Services REST Services Monday, 2015-01-12 Copyright 2014 STI INNSBRUCK www.sti-innsbruck.at Outline REST Services Task: Java API for RESTful Web Services (JAX-RS) REST Web Services design

More information

Writing APIs in Lumen

Writing APIs in Lumen Writing APIs in Lumen Rob Allen June 2018 I write APIs Rob Allen ~ @akrabat Let's start with Lumen Rob Allen ~ @akrabat Lumen Microframework Built with Laravel components Fast! Installation Install Laravel

More information

Model-View-Controller (MVC)

Model-View-Controller (MVC) Model-View-Controller (MVC) with Ruby on Rails Software Languages Team University of Koblenz-Landau Ralf Lämmel and Andrei Varanovich MVC - a classic definition The Model is the application object The

More information

Web-APIs. Examples Consumer Technology Cross-Domain communication Provider Technology

Web-APIs. Examples Consumer Technology Cross-Domain communication Provider Technology Web-APIs Examples Consumer Technology Cross-Domain communication Provider Technology Applications Blogs and feeds OpenStreetMap Amazon, Ebay, Oxygen, Magento Flickr, YouTube 3 more on next pages http://en.wikipedia.org/wiki/examples_of_representational_state_transfer

More information

REST - Representational State Transfer

REST - Representational State Transfer REST - Representational State Transfer What is REST? REST is a term coined by Roy Fielding to describe an architecture style of networked systems. REST is an acronym standing for Representational State

More information

Atomic Transactions for the REST of us

Atomic Transactions for the REST of us Atomic Transactions for the REST of us Cesare Pautasso Faculty of Informatics University of Lugano, Switzerland c.pautasso@ieee.org http://www.pautasso.info @pautasso Acknowledgements This is joint work

More information

RESTful Service Composition with JOpera

RESTful Service Composition with JOpera RESTful Service Composition with JOpera Cesare Pautasso Faculty of Informatics, USI Lugano, Switzerland c.pautasso@ieee.org http://www.pautasso.info http://twitter.com/pautasso 21.5.2010 Abstract Next

More information

MSc. Software Engineering. Examinations for / Semester 1

MSc. Software Engineering. Examinations for / Semester 1 MSc. Software Engineering Cohorts: MSE/16B/PT Examinations for 2016 2017/ Semester 1 MODULE: Service Oriented Architecture MODULE CODE: WAT 5101C Duration: 3 Hours Instructions to Candidates: 1. Answer

More information

Application Design and Development: October 30

Application Design and Development: October 30 M149: Database Systems Winter 2018 Lecturer: Panagiotis Liakos Application Design and Development: October 30 1 Applications Programs and User Interfaces very few people use a query language to interact

More information

Web API Best Practices

Web API Best Practices Web API Best Practices STEVE SMITH ARDALIS.COM @ARDALIS STEVE@DEVIQ.COM DEVIQ.COM Learn More After Today 1) DevIQ ASP.NET Core Quick Start http://aspnetcorequickstart.com DEVINTFALL17 20% OFF! 2) Microsoft

More information

Understanding RESTful APIs and documenting them with Swagger. Presented by: Tanya Perelmuter Date: 06/18/2018

Understanding RESTful APIs and documenting them with Swagger. Presented by: Tanya Perelmuter Date: 06/18/2018 Understanding RESTful APIs and documenting them with Swagger Presented by: Tanya Perelmuter Date: 06/18/2018 1 Part 1 Understanding RESTful APIs API types and definitions REST architecture and RESTful

More information

Requirements from the Application Software Extended Package for Web Browsers

Requirements from the Application Software Extended Package for Web Browsers Requirements from the Application Software Extended Package for Web Browsers Version: 2.0 2015-06-16 National Information Assurance Partnership Revision History Version Date Comment v 2.0 2015-06-16 Application

More information

InterPlanetary Wayback

InterPlanetary Wayback InterPlanetary Wayback Peer-to-Peer Permanence of Web Archives Mat Kelly, Sawood Alam, Michael L. Nelson, Michele C. Weigle Old Dominion University Web Science and Digital Libraries Research Group Norfolk,

More information

Rails Routing Roundup

Rails Routing Roundup Rails Routing Roundup Rails Routing Roundup David A. Black Ruby Power and Light, LLC http://www.rubypal.com 1 Roadmap Basics of routing system Recognition Generation Defining routes (routing rules) in

More information

Restful Interfaces to Third-Party Websites with Python

Restful Interfaces to Third-Party Websites with Python Restful Interfaces to Third-Party Websites with Python Kevin Dahlhausen kevin.dahlhausen@keybank.com My (pythonic) Background learned of python in 96 < Vim Editor started pyfltk PyGallery an early online

More information

RESTFUL WEB SERVICES - INTERVIEW QUESTIONS

RESTFUL WEB SERVICES - INTERVIEW QUESTIONS RESTFUL WEB SERVICES - INTERVIEW QUESTIONS http://www.tutorialspoint.com/restful/restful_interview_questions.htm Copyright tutorialspoint.com Dear readers, these RESTful Web services Interview Questions

More information

INF 212 ANALYSIS OF PROG. LANGS. INTERACTIVITY. Prof. Crista Lopes

INF 212 ANALYSIS OF PROG. LANGS. INTERACTIVITY. Prof. Crista Lopes INF 212 ANALYSIS OF PROG. LANGS. INTERACTIVITY Prof. Crista Lopes Interactivity Program continually receives input and updates its state Opposite of batch processing Batch processing datain = getinput()

More information

Create and Secure Your REST APIs with Apache CXF

Create and Secure Your REST APIs with Apache CXF Create and Secure Your REST APIs with Apache CXF Andrei Shakirin, Talend ashakirin@talend.com ashakirin.blogspot.com Agenda REST Principles in API Design Using CXF JAX-RS Features Secure REST API AboutMe

More information

Services Oriented Architecture and the Enterprise Services Bus

Services Oriented Architecture and the Enterprise Services Bus IBM Software Group Services Oriented Architecture and the Enterprise Services Bus The next step to an on demand business Geoff Hambrick Distinguished Engineer, ISSW Enablement Team ghambric@us.ibm.com

More information

A Framework For Transitioning Enterprise Web Services From XML-RPC to REST

A Framework For Transitioning Enterprise Web Services From XML-RPC to REST Association for Information Systems AIS Electronic Library (AISeL) CONF-IRM 2009 Proceedings International Conference on Information Resources Management (CONF-IRM) 5-2009 A Framework For Transitioning

More information

Introduction to REST Web Services

Introduction to REST Web Services Introduction to REST Web Services Asst. Prof. Dr. Kanda Runapongsa Saikaew Department of Computer Engineering Khon Kaen University http://gear.kku.ac.th/~krunapon/xmlws 1 Agenda What is REST? REST Web

More information

A Brief Introduction to REST

A Brief Introduction to REST A Brief Introduction to REST Posted by Stefan Tilkov on Dec 10, 2007 03:42 AM Community Architecture,SOA Topics Enterprise Architecture, REST You may or may not be aware that there is debate going on about

More information

VS10 WCF of Many Flavors When do I use which?

VS10 WCF of Many Flavors When do I use which? VS10 WCF of Many Flavors When do I use which? Brian Noyes Chief Architect, IDesign Inc (www.idesign.net) brian.noyes@idesign.net, @briannoyes About Brian Chief Architect IDesign Inc. (www.idesign.net)

More information

Delphi MVC Framework. Mathias Pannier

Delphi MVC Framework. Mathias Pannier Delphi MVC Framework Mathias Pannier Aboutme Name: Mathias Pannier Position: Software developer/ Team leader More than 15 years of experience with software development in Delphi Blog: DMVCFramework Delphi

More information

Web Services Chapter 9 of Coulouris

Web Services Chapter 9 of Coulouris Web Services Chapter 9 of Coulouris 1! Web Services One of the dominant paradigms for programming distributed systems. Enables business to business integration. (Suppose one organization uses CORBA and

More information

Introduction to RESTful Web Services. Presented by Steve Ives

Introduction to RESTful Web Services. Presented by Steve Ives 1 Introduction to RESTful Web Services Presented by Steve Ives Introduction to RESTful Web Services What are web services? How are web services implemented? Why are web services used? Categories of web

More information

Creating RESTful web services with Spring Boot

Creating RESTful web services with Spring Boot Creating RESTful web services with Spring Boot The Spring framework Free and open source Inversion of Control Container (IoC) Modules DI / AOP Data /Security Web MVC/ REST So much more +++ What is Spring

More information

Web Science and Web Technology Web Technologies I. Markus Strohmaier

Web Science and Web Technology Web Technologies I. Markus Strohmaier 707.000 Web Science and Web Technology Web Technologies I Markus Strohmaier Univ. Ass. / Assistant Professor Graz University of Technology, Austria e-mail: markus.strohmaier@tugraz.at web: http://www.kmi.tugraz.at/staff/markus

More information

Developing RESTful Services Using JAX-RS

Developing RESTful Services Using JAX-RS Developing RESTful Services Using JAX-RS Bibhas Bhattacharya CTO, Web Age Solutions Inc. April 2012. Many Flavors of Services Web Services come in all shapes and sizes XML-based services (SOAP, XML-RPC,

More information

Towards a more RESTful world. Anurup Joseph Elegan Consulting

Towards a more RESTful world. Anurup Joseph Elegan Consulting Towards a more RESTful world Anurup Joseph Elegan Consulting About Anurup coding professionally since 1994 working with Java since 1996 different industries/sectors/geographies loves to explore enjoys

More information

CNIT 129S: Securing Web Applications. Ch 3: Web Application Technologies

CNIT 129S: Securing Web Applications. Ch 3: Web Application Technologies CNIT 129S: Securing Web Applications Ch 3: Web Application Technologies HTTP Hypertext Transfer Protocol (HTTP) Connectionless protocol Client sends an HTTP request to a Web server Gets an HTTP response

More information

Web Information System Design. Tatsuya Hagino

Web Information System Design. Tatsuya Hagino Web Information System Design Tatsuya Hagino (hagino@sfc.keio.ac.jp) 1 Course Summary Understanding the current Web architecture Web components Web as document space Structure of Web documents Web principles

More information

Module 3 Web Component

Module 3 Web Component Module 3 Component Model Objectives Describe the role of web components in a Java EE application Define the HTTP request-response model Compare Java servlets and JSP components Describe the basic session

More information

RESTful -Webservices

RESTful -Webservices International Journal of Scientific Research in Computer Science, Engineering and Information Technology RESTful -Webservices Lalit Kumar 1, Dr. R. Chinnaiyan 2 2018 IJSRCSEIT Volume 3 Issue 4 ISSN : 2456-3307

More information

Short introduction to REST

Short introduction to REST Short introduction to REST HTTP Hypertext Transfer Protocol HTTP protocol methods: GET, POST, PUT, DELETE, OPTIONS, HEAD HTTP protocol is stateless Server does not know whether this is your first request,

More information

ORACLE APPLICATION EXPRESS, ORACLE REST DATA SERVICES, & WEBLOGIC 12C AUTHOR: BRAD GIBSON SENIOR SOLUTIONS ARCHITECT ADVIZEX

ORACLE APPLICATION EXPRESS, ORACLE REST DATA SERVICES, & WEBLOGIC 12C AUTHOR: BRAD GIBSON SENIOR SOLUTIONS ARCHITECT ADVIZEX ORACLE APPLICATION EXPRESS, ORACLE REST DATA SERVICES, & WEBLOGIC 12C AUTHOR: BRAD GIBSON SENIOR SOLUTIONS ARCHITECT ADVIZEX AdvizeX Technologies - A Rolta Company 6/12/2015 1 AGENDA Introductions Test

More information

Google GCP-Solution Architects Exam

Google GCP-Solution Architects Exam Volume: 90 Questions Question: 1 Regarding memcache which of the options is an ideal use case? A. Caching data that isn't accessed often B. Caching data that is written more than it's read C. Caching important

More information

Vendor: SUN. Exam Code: Exam Name: SUN Certified ENITRPRISE ARCHITECT FOR J2EE(tm)TECHNOLOGY. Version: Demo

Vendor: SUN. Exam Code: Exam Name: SUN Certified ENITRPRISE ARCHITECT FOR J2EE(tm)TECHNOLOGY. Version: Demo Vendor: SUN Exam Code: 310-051 Exam Name: SUN Certified ENITRPRISE ARCHITECT FOR J2EE(tm)TECHNOLOGY Version: Demo QUESTION NO: 1 Which acts as a proxy to an EJB? A. home instance B. remote instance C.

More information

Web basics: HTTP cookies

Web basics: HTTP cookies Web basics: HTTP cookies Myrto Arapinis School of Informatics University of Edinburgh February 11, 2016 1 / 27 How is state managed in HTTP sessions HTTP is stateless: when a client sends a request, the

More information

How is state managed in HTTP sessions. Web basics: HTTP cookies. Hidden fields (2) The principle. Disadvantage of this approach

How is state managed in HTTP sessions. Web basics: HTTP cookies. Hidden fields (2) The principle. Disadvantage of this approach Web basics: HTTP cookies Myrto Arapinis School of Informatics University of Edinburgh March 30, 2015 How is state managed in HTTP sessions HTTP is stateless: when a client sends a request, the server sends

More information

Discussion #4 CSS VS XSLT. Multiple stylesheet types with cascading priorities. One stylesheet type

Discussion #4 CSS VS XSLT. Multiple stylesheet types with cascading priorities. One stylesheet type Discussion #4 CSS VS XSLT Difference 1 CSS Multiple stylesheet types with cascading priorities XSLT One stylesheet type Difference 2 Used for HTML Used for structured document Difference 3 Only client

More information

Architectural Styles II

Architectural Styles II Architectural Styles II Software Architecture VO/KU (707.023/707.024) Denis Helic, Roman Kern KMI, TU Graz Nov 21, 2012 Denis Helic, Roman Kern (KMI, TU Graz) Architectural Styles II Nov 21, 2012 1 / 66

More information

Cloud Computing Overview*

Cloud Computing Overview* Cloud Computing Overview* *some material excerpted from slides of Roy Campbell, Reza Farivar at UIUC ECE 6102 Part 1: Background and Cloud Basics What is Cloud Computing?? NIST Definition - July 2011:

More information

Just relax - take some 90 minutes of ReST

Just relax - take some 90 minutes of ReST Just relax - take some 90 minutes of ReST Markku Laitkorpi Nokia Research Center 4.10.2007 TUT 1 V1-Filename.ppt / yyyy-mm-dd / Initials Prologue: Why should I care? My WS tools can generate a nice SOAP

More information

describe the functions of Windows Communication Foundation describe the features of the Windows Workflow Foundation solution

describe the functions of Windows Communication Foundation describe the features of the Windows Workflow Foundation solution 1 of 9 10/9/2013 1:38 AM WCF and WF Learning Objectives After completing this topic, you should be able to describe the functions of Windows Communication Foundation describe the features of the Windows

More information

INFOH-511 WEB SERVICES. LECTURE 1: Introduction

INFOH-511 WEB SERVICES. LECTURE 1: Introduction INFOH-511 WEB SERVICES LECTURE 1: Introduction COURSE RESPONSIBLES Stijn Vansummeren ULB, Campus Solbosch, UB4.125 stijn.vansummeren@ulb.ac.be Stefan Epe ULB, Campus Solbosch, UB4.133 Stefan.eppe@ulb.ac.be

More information

A Collaborative, Secure, and Private InterPlanetary Wayback Web Archiving System Using IPFS

A Collaborative, Secure, and Private InterPlanetary Wayback Web Archiving System Using IPFS A Collaborative, Secure, and Private InterPlanetary Wayback Web Archiving System Using IPFS Mat Kelly Old Dominion University Norfolk, Virginia, USA @machawk1 https://github.com/oduwsdl/ipwb David Dias

More information

StorageGRID Webscale NAS Bridge Management API Guide

StorageGRID Webscale NAS Bridge Management API Guide StorageGRID Webscale NAS Bridge 2.0.3 Management API Guide January 2018 215-12414_B0 doccomments@netapp.com Table of Contents 3 Contents Understanding the NAS Bridge management API... 4 RESTful web services

More information

RESTful Web Service Composition with JOpera

RESTful Web Service Composition with JOpera RESTful Web Service Composition with JOpera Cesare Pautasso Faculty of Informatics University of Lugano (USI), Switzerland http://www.pautasso.info 1 University of Lugano, Switzerland Faculty of Informatics

More information

Automating Database Uploads with Representational State Transfer Services

Automating Database Uploads with Representational State Transfer Services Proceedings of Student-Faculty Research Day, CSIS, Pace University, May 5 th, 2017 Automating Database Uploads with Representational State Transfer Services Christopher Keene and Matt Desimini Seidenberg

More information

Methodically selecting a test framework for REST

Methodically selecting a test framework for REST Methodically selecting a test framework for REST A literature review Timmy Olof Olsson Timmy Olof Olsson VT 2018 Examensarbete, 30 hp Supervisor: Anders Broberg Extern Supervisor: Richard Skelander Examiner:

More information

Hypertext Transport Protocol HTTP/1.1

Hypertext Transport Protocol HTTP/1.1 Hypertext Transport Protocol HTTP/1.1 Jim Gettys Digital Equipment Corporation, ISBU Visiting Scientist, World Wide Web Consortium 10/17/96 20-Apr-01 1 Acknowledgments HTTP/1.1 Authors Roy Fielding (UCI)

More information

HTTP Communication on Tizen (Tizen Ver. 2.3)

HTTP Communication on Tizen (Tizen Ver. 2.3) HTTP Communication on Tizen (Tizen Ver. 2.3) Spring 2015 Soo Dong Kim, Ph.D. Professor, Department of Computer Science Software Engineering Laboratory Soongsil University Office 02-820-0909 Mobile 010-7392-2220

More information

Web basics: HTTP cookies

Web basics: HTTP cookies Web basics: HTTP cookies Myrto Arapinis School of Informatics University of Edinburgh November 20, 2017 1 / 32 How is state managed in HTTP sessions HTTP is stateless: when a client sends a request, the

More information

SOA: Service-Oriented Architecture

SOA: Service-Oriented Architecture SOA: Service-Oriented Architecture Dr. Kanda Runapongsa (krunapon@kku.ac.th) Department of Computer Engineering Khon Kaen University 1 Gartner Prediction The industry analyst firm Gartner recently reported

More information

Load Balancing Technology White Paper

Load Balancing Technology White Paper Load Balancing Technology White Paper Keywords: Server, gateway, link, load balancing, SLB, LLB Abstract: This document describes the background, implementation, and operating mechanism of the load balancing

More information

Developing Mobile Applications

Developing Mobile Applications Developing Mobile Applications WAP 1 Organizations 3GPP (3G Partnership Program) IETF (Internet Enginering Task Force) W3C (World Wide Web Consortium) OMA (Open Mobile Aliance) IANA (Internet Assigned

More information

The Architecture of the World Wide Web

The Architecture of the World Wide Web The Architecture of the World Wide Web Laboratory of Computer Technologies L-A Laboratorio di Tecnologie Informatiche L-A Giulio Piancastelli & Andrea Omicini {giulio.piancastelli, andrea.omicini}@unibo.it

More information

Session 8. Reading and Reference. en.wikipedia.org/wiki/list_of_http_headers. en.wikipedia.org/wiki/http_status_codes

Session 8. Reading and Reference. en.wikipedia.org/wiki/list_of_http_headers. en.wikipedia.org/wiki/http_status_codes Session 8 Deployment Descriptor 1 Reading Reading and Reference en.wikipedia.org/wiki/http Reference http headers en.wikipedia.org/wiki/list_of_http_headers http status codes en.wikipedia.org/wiki/_status_codes

More information

Resource Description Language for Distributed RESTful Service Permission Management

Resource Description Language for Distributed RESTful Service Permission Management Resource Description Language for Distributed RESTful Service Permission Management Arbër Beshiri South East European University, Faculty of Contemporary Sciences and Technologies, Department of Software

More information

Sriram Krishnan, Ph.D. NBCR Summer Institute, August 2010

Sriram Krishnan, Ph.D. NBCR Summer Institute, August 2010 Sriram Krishnan, Ph.D. sriram@sdsc.edu NBCR Summer Institute, August 2010 What are Services Oriented Architectures? What are Web services? WSDL (Web Services Definition Language) Techniques for building

More information

RESTful Web service composition with BPEL for REST

RESTful Web service composition with BPEL for REST RESTful Web service composition with BPEL for REST Cesare Pautasso Data & Knowledge Engineering (2009) 2010-05-04 Seul-Ki Lee Contents Introduction Background Design principles of RESTful Web service BPEL

More information

The Architecture of the World Wide Web

The Architecture of the World Wide Web The Architecture of the World Wide Web Distributed Systems L-A Sistemi Distribuiti L-A Andrea Omicini after Giulio Piancastelli andrea.omicini@unibo.it Ingegneria Due Alma Mater Studiorum Università di

More information