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 107Result Context The system has one main way <strong>of</strong> communication. Eachservice <strong>of</strong> the system provide interface for this way <strong>of</strong> communication.3. Name Canonical SchemaProblem Many services perform operation on the same data that aremodeled differently by different vendors or teams. Those differences increasedevelopment efforts and make design more complex. Additionally,the transformation between different models introduces performance drop.ContextApplication uses communication pro<strong>to</strong>colsForces(a) Schema <strong>of</strong> the data may change over time.(b) The schema is used in many services from different inven<strong>to</strong>ries.(c) Schema needs <strong>to</strong> be easily extended.Solution The pattern standardizes data model for information within theinven<strong>to</strong>ry. The motivation behind the pattern is <strong>to</strong> avoid translation betweendifferent definitions <strong>of</strong> the same data and eliminate data definitionredundancy across the systemResult Contextand maintainable.System has a centralized schema that easily accessible4. Name Policy CentralisationProblem <strong>Service</strong>s may require <strong>to</strong> process individual polices. Policies mayrefer <strong>to</strong> security, transaction requirements and Quality-<strong>of</strong>-<strong>Service</strong>s. Replication<strong>of</strong> policies across inven<strong>to</strong>ries brings redundancy and problems withsynchronization <strong>of</strong> changes <strong>to</strong> the policies.ContextThe system is composed <strong>of</strong> services that need <strong>to</strong> process policies.Forces(a) Number <strong>of</strong> services using policies is not fixed(b) The policies change over time

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

Saved successfully!

Ooh no, something went wrong!