H4: Web Services Flashcards

(20 cards)

1
Q

Wat zijn 3 benefits van Web Services?

A
  • Loose Coupled Design: ze bestaan zonder de andere services
  • Ease of integration: Alles gaat via API’s, dus makkelijk integreerbaar
  • Service Reeuse: 1x gecode, blijft replicaten
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Wat zijn 5 rest URI regels?

A
  • Describe resources, not applications
  • Short
  • Hackable up the tree
  • Meaningful
  • Predictable
  • Human readable
  • Nouns, not verbs
  • Permanent
  • Query arguments only for parameters
  • No extentions
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Wat zijn 5 rest API regels?

A
  • Moet Base URI hebben
  • Heeft een internet media type for data
  • Gebruikt de standaard http methodes
  • Gebruikt hypertext links om staat te geven
  • Gebruikt hypertext links om related resources te geven
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Rest en RPC verschillen (3)?

A
  1. Many URI + few operations vs Many operations and few URI’s
  2. Addresses resources vs addresses software components
  3. Resource representatie vs procedure en parameters worden getransfered
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Wat is het basis protocol van SOAP?

A

HTTPS

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Waarom gebruikt SOAP XML? (2)

A
  • Maakt het dat processing en extentions toevoegbaar zijn
  • Stijl om alle soorten data te versturen
    Was ook standaard toen
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Hoe credentials in SOAP? (2)

A

In header of in body, als in header (heeft MustUnderstand nodig)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Advantages REST vs SOAP? (3)

A
  • Simpler
  • Lagere overhead
  • Minder tools nodig
  • Immutable
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Wanneer SOAP gebruiken? (2)

A
  • Meer formele manieren nodig om services te invokeren
  • Als je een van de WS-* extentions nodig hebt
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Waarvoor staat REST?

A

Representational state transfer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Waarvoor staat SOAP?

A

Simple object Access Protocol

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Waarvoor staat WSDL?

A

Web service description language

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Wat zijn de REST Architecturale contraints? (6)

A
  • Interface uniformiteit tussen components: componenten moeten zelfde taal spreken
  • Client server model: Moeten beide kunnen worden ontwikkeld los van elkaar (seperation of concerns)
  • Stateless client-server communication: Elk request heeft alle nodige informatie, gebruikt hiervoor geen request history of iets.
  • Caching: Het cachen is goed voor performance en scalabitily, als er niet gecached wordt, moet dit impliciet of expliciet vermeld worden.
  • Layering: Een client weet niet of het met een proxy of server verbonden is, dit laat toe voor load balancing + fail-over + data transformatie
  • Code on demand (optioneel): client code can extend worden met javascript.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Wat is een web service?

A

Een software systeem dat gemaakt is om intermachinale interactie uit te kunnen voeren over een netwerk.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Wat is REST

A

Representational State Transfer is een architecturale stijl voor distributed systems.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Wat is een URI? welke components? Wat doen ze?

A

Uniform Resource Identifier:
- Bestaat uit URL (Uniform Resource Locator)
- Bestaat uit URN (Uniform Resource Name)

17
Q

Wat is WSDL?

A

Web Service Descriptive Language is een XML grammar om endpoints te specificeren. Gemaakt om automatische applicatie tot applicatie interactie mogelijk te maken. Defineert ook het runtime communicatie protocol.

18
Q

Wat is een SLA?

A

Een Service Level Agreement is een contract tussen service en client over de performance en wat er exact wordt verwacht.

19
Q

Wat is een WS-Agreement?

A

Extensie om een SLA op te stellen

20
Q

Wat is een resource?

A

Een item geidentificeerd door een identifier