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 112Solution The pattern introduces a state reposi<strong>to</strong>ry that is meant <strong>to</strong> maintainstate <strong>of</strong> stateful services. Stateful services delegate their state <strong>to</strong> specialservices in order <strong>to</strong> free system resources. The state is not transferred au<strong>to</strong>matically.The transfer occurs when special criteria are met. The criteriacan be for instance an extending waiting for a response. This solution occurs<strong>to</strong> be very useful when an asynchronous communication is applied.Result Context State <strong>of</strong> stateful services can be s<strong>to</strong>red when specialcriteria are met. Afterwards, when it is needed the state can be res<strong>to</strong>red.12. Name UI Media<strong>to</strong>rProblem Business services bind in<strong>to</strong> process many independent services.The execution time <strong>of</strong> those services may vary and it can take a while <strong>to</strong>provide result requested by the user.ContextAn application is interacting with users.Forces(a) <strong>Service</strong>s creating the process can be dynamically changed.(b) Time needed for execution <strong>of</strong> an operation varies and depends on loadand geographical location <strong>of</strong> a service.Solution Application <strong>of</strong> the pattern introduces an additional layer thatprocesses information about progress <strong>of</strong> invoked operation. The informationis further acquired by frontends and presented <strong>to</strong> users.Result Context An application that is able <strong>to</strong> provide continuously feedbackabout progress <strong>of</strong> invoked operation.5.2 GuidelinesThe guidelines for migrated system should use existing code and documentation.Application <strong>of</strong> Top– Down approach bases more on available documentation becausea good understanding <strong>of</strong> business domain and associated business processesis needed <strong>to</strong> divide the whole application in<strong>to</strong> smaller parts. Each guideline introduceda SOA architectural pattern in order described by SOA pattern language(see section sec:SOApatternLanguage). Application <strong>of</strong> a subsequent guideline removessome code from migrated system and migrates it <strong>to</strong> the target system.

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

Saved successfully!

Ooh no, something went wrong!