Intro to Message Oriented Middleware

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/18

flashcard set

Earn XP

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

19 Terms

1
New cards

what is MOM

decouple the request that’s being made from the component that resolves that request. this way, we structure around the messages and not the components

2
New cards

direct approach

button maintains a list of objects to call when pressed, a listener pattern is used to observe the press and actuate the appropriate method

3
New cards

general approach

build an interface where there is no direct relationship between interface and action

4
New cards

benefits of general approach 1

more specialised components which can be changed without affecting others. interface components to handle user interaction and action components to affect the database

5
New cards

benefits of general approach 2

dynamically add new components

6
New cards

decoupling

effect is not closely coupled with cause - events are sensed and reflected in the system and components react to those events

7
New cards

drawback of general approach 1

the behavior of the system comes from its composition

8
New cards

drawback of general approach 2

increased complexity but also increased flexibility

9
New cards

viewpoint of how components operate 1

object, component or service oriented - focus on the bits that do the work or hold the state

10
New cards

viewpoint of how components operate 2

event or message oriented - focus on the interactions between the components

11
New cards

event

packet of data saying “this just happened”, e.g., mouse click, transaction

12
New cards

what does an event carry

event type, timestamp, source, payload

13
New cards

design decision 1

set of event types - static, dynamic, extensible

14
New cards

design decision 2

payload - what, constrained, free form

15
New cards

how does a component produce an event

create the data structure and submit it to the middleware

16
New cards

asynchrony in event systems 1

producer and handler do not synchronise

17
New cards

asynchrony in event systems 2

client knows neither the identity nor number of components who will consume the event

18
New cards

asynchrony in event systems 3

client doesn’t know whether event has been consumed, and if so whether it was successful or not

19
New cards

asynchrony in event systems 4

client may not know that one event is processed before another