Webservices at TU Berlin | Flashcards & Summaries

Select your language

Suggested languages for you:
Log In Start studying!

Lernmaterialien für Webservices an der TU Berlin

Greife auf kostenlose Karteikarten, Zusammenfassungen, Übungsaufgaben und Altklausuren für deinen Webservices Kurs an der TU Berlin zu.

TESTE DEIN WISSEN

What are webservices? 

Lösung anzeigen
TESTE DEIN WISSEN

a collection of functions

- Packaged as a single entity and

- Published to the network for use by other programs


Lösung ausblenden
TESTE DEIN WISSEN

What is SOAP?

Lösung anzeigen
TESTE DEIN WISSEN

Simple Object Access Protocol 



High-level communication protocol
- Mostly: request/reply semantics
- SOAP defines message formats (using XML), not the protocol as such

- Relies on the HTTP message for actually delivery

Lösung ausblenden
TESTE DEIN WISSEN

What is REST?

Lösung anzeigen
TESTE DEIN WISSEN

architectural style for distributed systems that focus on a systems resources, including how resource states are addressed and transferred over HTTP

Lösung ausblenden
TESTE DEIN WISSEN

What application layer protocol does REST use?


Lösung anzeigen
TESTE DEIN WISSEN

HTTP → and also uses it's semantics of the CRUD operations (Create, Read, Update, Delete) regarding the resource state

Lösung ausblenden
TESTE DEIN WISSEN

What makes a system RESTful?

Lösung anzeigen
TESTE DEIN WISSEN

Exhibiting all the constrains defined by REST

Lösung ausblenden
TESTE DEIN WISSEN

Resource and State in regards to REST

Lösung anzeigen
TESTE DEIN WISSEN

Resource: any information that can be named/referenced with an identifier: documents, images, services, people, and collections.


State: State of a resource that may change over time (changeable properties ?) 




Lösung ausblenden
TESTE DEIN WISSEN

Difference between Narrow and Wide Interfaces

Lösung anzeigen
TESTE DEIN WISSEN

Narrow 

  • Limited set of common methods / procedures / functions
  • Services defined through the resources / arguments passed to the narrow method interface
  • Service design is focused on the resources, not on the functions



Wide 

- The opposite. Many functions e.g

snmpGet, snmpGetBulk, snmpGetList, snmpSet,


Lösung ausblenden
TESTE DEIN WISSEN

Complete the comparision



Features

SOAP-Style

REST-Style

Interaction



Interface



Data Format



URI



Payload



Performance




Lösung anzeigen
TESTE DEIN WISSEN


Features

SOAP-Style

REST-Style

Interaction

Stateful

Stateless

Interface

Specified by description language (WSDL, IDL)

Uniform interface

Data Format

Specified by description language (WSDL, IDL)

MIME Types (negotiation)

URI

Service

Resource

Payload

Opaque message

Self-described message

Performance

Hard to cache

Easy caching


Lösung ausblenden
TESTE DEIN WISSEN

Which 3 characteristics makes (some) operations in REST cacheable?

Lösung anzeigen
TESTE DEIN WISSEN

uniform interface + stateless + self-descriptive = cachable


Lösung ausblenden
TESTE DEIN WISSEN

What are Remote Procedure Calls

Lösung anzeigen
TESTE DEIN WISSEN

A way for clients to communicate with servers by calling procedures in a similar way to the conventional use of procedure calls. Modeled on a local procedure call but the called procedure is executed in a different process and usually a different computer. The fact that it's remote is usually  hidden to the client


Lösung ausblenden
TESTE DEIN WISSEN

Which HTTP method is used to update / change the state of a resource in REST?

Lösung anzeigen
TESTE DEIN WISSEN

PUT

Lösung ausblenden
TESTE DEIN WISSEN

Why does SOAP use HTTP?

Lösung anzeigen
TESTE DEIN WISSEN

generally available - so for example can traverse firewalls more easily

Lösung ausblenden
  • 79768 Karteikarten
  • 2463 Studierende
  • 73 Lernmaterialien

Beispielhafte Karteikarten für deinen Webservices Kurs an der TU Berlin - von Kommilitonen auf StudySmarter erstellt!

Q:

What are webservices? 

A:

a collection of functions

- Packaged as a single entity and

- Published to the network for use by other programs


Q:

What is SOAP?

A:

Simple Object Access Protocol 



High-level communication protocol
- Mostly: request/reply semantics
- SOAP defines message formats (using XML), not the protocol as such

- Relies on the HTTP message for actually delivery

Q:

What is REST?

A:

architectural style for distributed systems that focus on a systems resources, including how resource states are addressed and transferred over HTTP

Q:

What application layer protocol does REST use?


A:

HTTP → and also uses it's semantics of the CRUD operations (Create, Read, Update, Delete) regarding the resource state

Q:

What makes a system RESTful?

A:

Exhibiting all the constrains defined by REST

Mehr Karteikarten anzeigen
Q:

Resource and State in regards to REST

A:

Resource: any information that can be named/referenced with an identifier: documents, images, services, people, and collections.


State: State of a resource that may change over time (changeable properties ?) 




Q:

Difference between Narrow and Wide Interfaces

A:

Narrow 

  • Limited set of common methods / procedures / functions
  • Services defined through the resources / arguments passed to the narrow method interface
  • Service design is focused on the resources, not on the functions



Wide 

- The opposite. Many functions e.g

snmpGet, snmpGetBulk, snmpGetList, snmpSet,


Q:

Complete the comparision



Features

SOAP-Style

REST-Style

Interaction



Interface



Data Format



URI



Payload



Performance




A:


Features

SOAP-Style

REST-Style

Interaction

Stateful

Stateless

Interface

Specified by description language (WSDL, IDL)

Uniform interface

Data Format

Specified by description language (WSDL, IDL)

MIME Types (negotiation)

URI

Service

Resource

Payload

Opaque message

Self-described message

Performance

Hard to cache

Easy caching


Q:

Which 3 characteristics makes (some) operations in REST cacheable?

A:

uniform interface + stateless + self-descriptive = cachable


Q:

What are Remote Procedure Calls

A:

A way for clients to communicate with servers by calling procedures in a similar way to the conventional use of procedure calls. Modeled on a local procedure call but the called procedure is executed in a different process and usually a different computer. The fact that it's remote is usually  hidden to the client


Q:

Which HTTP method is used to update / change the state of a resource in REST?

A:

PUT

Q:

Why does SOAP use HTTP?

A:

generally available - so for example can traverse firewalls more easily

Webservices

Erstelle und finde Lernmaterialien auf StudySmarter.

Greife kostenlos auf tausende geteilte Karteikarten, Zusammenfassungen, Altklausuren und mehr zu.

Jetzt loslegen

Das sind die beliebtesten StudySmarter Kurse für deinen Studiengang Webservices an der TU Berlin

Für deinen Studiengang Webservices an der TU Berlin gibt es bereits viele Kurse, die von deinen Kommilitonen auf StudySmarter erstellt wurden. Karteikarten, Zusammenfassungen, Altklausuren, Übungsaufgaben und mehr warten auf dich!

Mehr Karteikarten anzeigen

Das sind die beliebtesten Webservices Kurse im gesamten StudySmarter Universum

Service

Hochschule Furtwangen

Zum Kurs
Travel Services

Rosebank College

Zum Kurs
travel services

Rosebank College

Zum Kurs
Microservices

Hochschule Karlsruhe

Zum Kurs

Die all-in-one Lernapp für Studierende

Greife auf Millionen geteilter Lernmaterialien der StudySmarter Community zu
Kostenlos anmelden Webservices
Erstelle Karteikarten und Zusammenfassungen mit den StudySmarter Tools
Kostenlos loslegen Webservices