Component based / web based DS's (4) Flashcards

1
Q

What are the main goals of using components?

A

conquering complexity
(large software projects are complex, components are easier to manage)

Managing change 
(easy to replace components)

Software reuse
(black- box that can be reused in other systems)

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

What is contract in context of designing a component platform?

A

A set of provided interfaces, a set of required interfaces, pre and post conditions/invariants. Extra- functional requirements (e.g. performance, security, transactions)

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

What are some issues with object- oriented middleware?

A

Implicit dependencies (an object may invoke lots of other services without showing it)

You are exposed to many low level details when interacting to middleware.

Lack of separation of concerns

No support for deployment

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

What is the advantage of using implicit middleware instead of object- based middleware.

A

Better support for separation of concerns because application logic is split from middleware concerns.

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

What are some examples og component- based middleware technologies?

A

JavaBeans

CORBA Component Model

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

What is included in a WSDL description?

A

Types (name and type of exchanged values)

Messages (Operations)

Interface (Operation parameters)

Binding (Choice of communication protocol)

Services (endpoint adresses)

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

What is XML?

A

A language to describe message formats.

It defines how the message is parsed.

Can reference resources.

It is based on UNICODE which makes it readable but inefficient.

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

What are some differences between using web services and distributed object?

A

Document orientation instead of object orientation means that we are not dependent of any particular end- system tech.

We don’t need any instantiation activation, garbage collection etc. with web services.

Distributed objects are often limited to organisations, with web services distribution, naming and referencing can have a global scope.

Web services have bigger messages which is less efficient.

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

In what ways are components a more natural way to build systems?

A

Easier to manage different parts and put them together with good overview of interfaces, protocols etc.

Few dependencies. (i.e. no implicit dependencies)

Small coherent components give better separation of concerns.

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

What are three essential design concepts related to component?

A

Component model:
C = (P, PM, RM, E) and I = (PM, E)

Connection Models and Composition:

Deployment models

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