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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 5. Guidelines 106Context An application is composed <strong>of</strong> many services that are developedby different teams.Forces(a) Many services provide similar functionality.(b) Functionality <strong>of</strong> each service is different.(c) High cohesion <strong>of</strong> services has <strong>to</strong> be kept.Solution The pattern divides service inven<strong>to</strong>ry in<strong>to</strong> logical layers containingservices with similar functionality. Each layer contains one specificand abstract concern. The pattern enforces usage <strong>of</strong> at least two layers-onecontains basic service, the other contains composed services.Result Context The application is divided in<strong>to</strong> several (at least two)service layers that support maintainability and further development <strong>of</strong> thisapplication.2. Name Canonical Pro<strong>to</strong>colProblem <strong>Service</strong> can be provided by different vendors. The vendors canuse different languages and communication pro<strong>to</strong>cols. However the differencein language is not so important, the differences in communicationpro<strong>to</strong>cols are. Different communication pro<strong>to</strong>cols limit number <strong>of</strong> potentialconsumers and introduce the need <strong>of</strong> pro<strong>to</strong>col bridging.Context An application is composed <strong>of</strong> services that are delivered bydifferent vendors.Forces(a) <strong>Service</strong>s need <strong>to</strong> communicate with each other(b) A main way <strong>of</strong> communication needs <strong>to</strong> be established(c) A way <strong>of</strong> communication cannot limit functionality <strong>of</strong> servicesSolution Application <strong>of</strong> the pattern enforces usage <strong>of</strong> one communicationpro<strong>to</strong>col as a main mean <strong>of</strong> communication. <strong>Pattern</strong> application eliminatesbridging services in the system what improves performance and maintainability.In order <strong>to</strong> increase benefits associated with the pattern, architectsshould consider usage <strong>of</strong> widely supported and vendor independent communicationpro<strong>to</strong>cols like SOAP

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

Saved successfully!

Ooh no, something went wrong!