Mid Sweden University

miun.sePublications
Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
REST, 15 år och missförstådd.
Mid Sweden University, Faculty of Science, Technology and Media, Department of Computer and System science.
2015 (Swedish)Independent thesis Basic level (degree of Bachelor), 10 credits / 15 HE creditsStudent thesis
Abstract [sv]

Webben är en framgångssaga. Men vilka tekniska egenskaper gör den framgångsrik?Dr. Roy Fielding identifierade dess stora fördelar och vilka arkitektoniskarestriktioner som främjar dessa. REpresentational State Transfer, ellerREST, är en arkitektonisk stil som samlar dessa restriktioner under en akronym.REST kan användas för att ge webbens positiva egenskaper till webbservicessom konsumeras av automatiserade klienter. Uppdraget har varit att implementeraett Application Programming Interface (API) på ett befintligt system föravtalshantering. API:et ska vara RESTful. Vad detta egentligen innebär verkarinte helt solklart. En stor del av arbetet har legat i att studera Fieldings avhandlingoch reda ut begreppen. Det centrala i REST är det enhetliga interfacet, sominnebär att system, oberoende av varandra ska kunna förstå de meddelandensom hanteras. Det utvecklade systemet har utvärderats mot definitionen avREST och systemet saknar den essentiella delen Hypertext As The Engine OfApplication State (HATEOAS). Denna del är också vad som verkar vara denmest missförstådda, eller till och med helt ignorerade delen av REST. HATEOASinnebär att servern genom länkar, dynamiskt serverar klienten med de vägarklienten kan navigera API:et. Detta leder till att ny funktionalitet kan läggas tillutan att skapa inkompatibilitet med klienten. Klienten kan välja att ignorera länkarmed relationer den inte känner igen. För att REST ska vara användbart såmåste klienten förstå relationerna i API:ets länkar och representationen av dessdata.

Abstract [en]

The World Wide Web is a success. But, what technical properties made it whatit is today? Dr. Roy Fielding identified the web´s great advantages and a set ofarchitectural restrictions to guard the advantages. REpresentational State Transfer,or REST, is an architectural style gathering these restrictions under oneacronym. REST can be used to give the web´s properties to web services to beconsumed by automated clients. The mission has been to implement an ApplicationProgramming Interface (API) on top of a system for contract handling.The API should be RESTful. What RESTful actually means seems unclear. Themajor part of the work has been to study Fieldings dissertation, sorting out thecharacteristics. The central part of REST, is the uniform interface. It allows intermediarynodes to understand the meaning of a message without knowinganything else about the sender. The system developed has been evaluatedagainst Fieldings definition of REST, still the system lacks Hypertext As TheEngine Of Application State (HATEOAS). This part seems to be the mostwidely misunderstood part of REST, often completely ignored. HATEOASgives the server the power of steering the client through the API, by always providinglinks to the available steps. This leads to the ability to add functionalityto the API without breaking the client. The client can just ignore the links that itdoes not know how to handle. For REST to be useful by automated clients, theclient needs to understand the link relations and the data representations of theAPI.

Place, publisher, year, edition, pages
2015.
Keywords [en]
Java EE7, HATEOAS, REST
National Category
Computer Systems
Identifiers
URN: urn:nbn:se:miun:diva-25719OAI: oai:DiVA.org:miun-25719DiVA, id: diva2:848401
Subject / course
Computer Engineering DT1
Educational program
Software Engineering TPVAG 120/180 higher education credits
Presentation
2015-06-12, 15:30 (Swedish)
Supervisors
Examiners
Available from: 2015-09-03 Created: 2015-08-24 Last updated: 2015-09-03Bibliographically approved

Open Access in DiVA

fulltext(611 kB)260 downloads
File information
File name FULLTEXT01.pdfFile size 611 kBChecksum SHA-512
0684d4fb9dc1a2d24a607458ec9394c6da54495cd31fc8b91c777518c7fc63ce05292f342d788bf5aa7c56e6c01a7847d2752b7d2951859db5e8127ff19ffcca
Type fulltextMimetype application/pdf

By organisation
Department of Computer and System science
Computer Systems

Search outside of DiVA

GoogleGoogle Scholar
Total: 260 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

urn-nbn

Altmetric score

urn-nbn
Total: 436 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf