Block 2. Part 1: Architectures Flashcards

1
Q

What is architecture?

A

Architecture specifies the componenets that make up a system, their functionality and how they interact or communicate.

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

What are the 2 different approaches to architecture that are investigated?

A
  1. Client-server and other multi-tier approaches. These are used to ensure a modular design of an application or service.
  2. More distributed ‘network’ type architectures such as ‘service-oreintated architecture’ (SOA)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is Two-Tier architecture?

A

commonly seen as a client-server architecture where the application is divided into two parts, ‘client’ and ‘server’.

the server part provides the central functionality.

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

describe the figure that represents a simple client-server application.

A

file:///tmp/calibre_1.25.0_tmp_1Dhl2s/jTCZJn_ebook_iter/OPS/assets/tt284_b2_p1_f02.eps.jpg

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

What is the difference between a thin client and a thick (or thicker) client?

A

a web browser with little functionality of its own is often termed a thin client, while the ‘mor eintelligent’ client is usually termed a thick client.

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

What is multi-tier architecture?

A

The approach of splitting an application into tiers can be taken further. Both the client and the server parts can be further subdivided if this is appropriate for tha application. The lcient, for example, may be responsible both for some processing of data( such as totalling) and for the presentation of information. These two functions might be seperated into two tiers at the client end.

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

What are two advantages of using a multi-tier architecture?

A

Splitting data up in this way would, for examlple, allow occasional backups of the more static data with more frequent backuos of the dynamic data.

Each tier can be changed more easily as it is less dependant on the precise details of the other componenets with which it interacts.

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

what is the middle ware?

A

a tier that handles interactions with the dat atier, such as rretreiving reqeusted information or validating data that is put into the data stores. This tier, between the data tier and the web server application is sometimes termed the ‘middle tier’ or middleware. AN application that uses middleware to handle data requests between a user and a database is said to employ multi-tier architecture.

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

What is SOA?

A

Service-orientated Architecture is based around the idea of breaking down an application into a set of much smaller tasks that can be performed by small independant pieces of software, each performing a discrete task commonly called a service. Examples of services might be surrency conversion or data storage.

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

What are the three main components or roles of SOA?

A
  1. a requester that can both search and discover web services and use or ‘bind’ to a web service by communicating with XML messages.
  2. a directory or registry that holds the details of web services that are available.
  3. the services themselves. Each service has its details published as an XML description in any number of directories. The description includes details of what the service does and how to use the service in terms of how to call it and what response to expect.
    file: ///tmp/calibre_1.25.0_tmp_1Dhl2s/jTCZJn_ebook_iter/OPS/assets/tt284_b2_p1_f04.eps.jpg
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is WSA?

A

Web Service Architecture is a particular realisation of SOA that is used to provide services over the internet. It has 4 distinct layers which are termed as the ‘web services protocol stack’.

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

What is the ‘web services protocol stack’?

A

it has 4 distinct layers. The upper layers build on the lower levels, so, for example, service descriptions are expressed using XML, and SOAP messages are usually exchanged using HTTP.

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

What are the 4 levels of the ‘web service protocol stack’ and what are their roles?

A
  1. Network transport layer. This supports the passing of messages between components in the archtecture. Common protocols used here atr HTTP, FTP and SMTP.
  2. Message encoding layer. This provides a standard approach to encoding information in messages so that they can be understood. Web service messaging approaches such as XML -RPC and SOAP are based on XML
  3. Service description layer. This provides a way to describe a web service so that it can be accessed and used. The Web Services Descruiption Language (WSDL) is used to describe services
  4. service discovery layer. This provides the means to publish descriptions of and find web services in a central repository. The Univeral Description, Discovery and Integration (UDDI) registry standard supports this layer.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is the first layer of the ‘web services protocol stack’?

A
  1. Network transport layer. This supports the passing of messages between components in the archtecture. Common protocols used here atr HTTP, FTP and SMTP.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is the second layer of the ‘web services protocol stack’?

A
  1. Message encoding layer. This provides a standard approach to encoding information in messages so that they can be understood. Web service messaging approaches such as XML -RPC and SOAP are based on XML
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is the third layer of the ‘web services protocol stack’?

A
  1. Service description layer. This provides a way to describe a web service so that it can be accessed and used. The Web Services Descruiption Language (WSDL) is used to describe services
17
Q

What is the last layer of the ‘web services protocol stack’?

A

. service discovery layer. This provides the means to publish descriptions of and find web services in a central repository. The Univeral Description, Discovery and Integration (UDDI) registry standard supports this layer.