12.07.2015 Views

Migration of a Chosen Architectural Pattern to Service Oriented ...

Migration of a Chosen Architectural Pattern to Service Oriented ...

Migration of a Chosen Architectural Pattern to Service Oriented ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 3. <strong>Architectural</strong> <strong>Pattern</strong>s 48ViewControllerModelFigure 3.10: Example usage <strong>of</strong> MVC pattern7. MicrokernelOverview – This architectural pattern provides a solution for problemsthat need systems characterised by high adaptivity.ElementsMicrokernel – It is called also Message Bus or just Kernel. Kernel receivesmessages through external API from clients, forwards them <strong>to</strong> specific serviceand returns the result <strong>to</strong> calling client.<strong>Service</strong> – It encapsulates business logic. Can invoke other services (acts asa client)Client – Sends request <strong>to</strong> Kernel.Relationships – a service does not know location <strong>of</strong> other services andcannot invoke other service directly. A service can invoke only Kernel. Kernelknows location <strong>of</strong> all the services and can invoke them(see figure 3.12 ).8. ReflectionOverview – This very unusual pattern enables rapid evolution <strong>of</strong> system.This evolution is ensured by a “self – aware” meta–layerElementsMeta Layer – consists <strong>of</strong> Meta ObjectsMeta Object – contains information about structure <strong>of</strong> the system and itsbehavior including knowledge about operations that should be invoked ifan element from Base Layer invokes an action.Base Layer – contains elements <strong>of</strong> the system.Element – each element calls Meta Layer in order <strong>to</strong> execute an action.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!