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 5. Guidelines 122ViewFrontendProcess AbstractionProcess AbstractionInven<strong>to</strong>ry EndpointsInven<strong>to</strong>ry EndpointsSchemaBasic <strong>Service</strong>sPolicySchemaBasic <strong>Service</strong>sPolicyUtility+ Frontend=UtilityResourcesResourcesEntityEntityRulesRulesStateStateFigure 5.12: <strong>Migration</strong> step 12Applied SOA pattern: UI media<strong>to</strong>rHow <strong>to</strong>: Provide continuous feedback <strong>to</strong> users. The feedback includes informationabout progress <strong>of</strong> an ongoing process, responding <strong>to</strong> exceptionas well as displaying forms in order <strong>to</strong> acquire additional information fromthe user [32]. Literature provides two possible realizations <strong>of</strong> UI media<strong>to</strong>rpattern [32]:(a) A media<strong>to</strong>r service – requires a permanent binding <strong>of</strong> client application<strong>to</strong> media<strong>to</strong>r service for process duration. This kind <strong>of</strong> media<strong>to</strong>rservice contains own logic that decides when and how <strong>of</strong>ten interactwith client.(b) A media<strong>to</strong>r service agent – a service agent is an implementation <strong>of</strong>event driven logic. Events are lunched for instance after each step <strong>of</strong>the process like service invocation. The pattern does not specify howan event can be lunched and intercepted by the agent. The patternstates that an agent has <strong>to</strong> be stateful in order <strong>to</strong> continuously notifyclient application. UI–Media<strong>to</strong>r related code can be found in alreadymigrated Frontends and Controllers <strong>of</strong> the migrated system. It is alsoworth <strong>to</strong> revise documentation <strong>of</strong> the migrated system.5.3 Project for migrationThe previous section presents guidelines for migration in order <strong>to</strong> their application.The guidelines are theory. There is a need <strong>of</strong> illustration how <strong>to</strong> apply them

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

Saved successfully!

Ooh no, something went wrong!