Model-Driven Evolution of Software Architectures - Software and ...
Model-Driven Evolution of Software Architectures - Software and ...
Model-Driven Evolution of Software Architectures - Software and ...
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
110 Chapter6. ConformanceCheckingII<br />
Ingeneral,withMDEabstractmodelsaretransformedtomoreconcrete<br />
models(<strong>and</strong>eventuallyintocode).Inourcasewealsotransformmodelsin<br />
theoppositedirectiontoobtainaconformancemodelsfromtheimplementation.<br />
InaccordancewiththeMDAweusetheMetaObjectFacility 1 (MOF)for<br />
metamodelling<strong>and</strong>UMLformodelling. Forspecifyingtherequiredmodel<br />
transformationsweusedtheAtlasTransformationLanguage[Jouault<strong>and</strong><br />
Kurtev,2005](ATL).<br />
Assuch,weintendtochecktheconformance<strong>of</strong>anarchitecturalmodel<br />
withrespecttoitscorrespondingimplementationusingMDAmodeltransformations.Consequently,itisrequiredtoobtainanMDAtype<strong>of</strong>model<strong>of</strong><br />
theimplementation.<br />
Here,weusetheconcept<strong>of</strong>atechnologicalspacecoinedbyKurtevetal.<br />
[2002]<strong>and</strong>describedasaworkingcontextwithaset<strong>of</strong>associatedconcepts,<br />
body<strong>of</strong>knowledge,requiredskills,tools,<strong>and</strong>possibilities.MDAisonesuch<br />
technologicalspace,basedonMOF<strong>and</strong>modeltransformations. TheMDA<br />
technologicalspacecanbereferredtoasmodelware. Othertechnological<br />
spacesarethegrammarware(basedongrammars)<strong>and</strong>theXMLtechnologicalspace.<br />
Here,werefertothetranslation<strong>of</strong>onetechnologicalspaceto<br />
anotherasprojectionorbridging.Inparticular,fromtheperspective<strong>of</strong>the<br />
target<strong>of</strong>suchaprojectionwecallitinjection,<strong>and</strong>fromtheperspective<strong>of</strong><br />
thesourcewecallitextraction.<br />
We,thus,obtainamodelrepresentation<strong>of</strong>theimplementationbyinjectingitinamodelbasedonanappropriatemetamodel.<br />
6.4 Viewpoints<strong>and</strong>Metamodels<br />
Thearchitecturalviewsusedtodocumentas<strong>of</strong>twarearchitectureareassociatedwithviewpoints.<br />
Severalsets<strong>of</strong>architecturalviewpointshave<br />
beendefined. Toattainagoodcoverage<strong>of</strong>thedifficulties<strong>and</strong>possibilities<strong>of</strong>determiningarchitecturalconformance,weconsiderviewsfromthe<br />
twoprincipalcategories<strong>of</strong>viewsdescribedinliterature[Kruchten,1995;<br />
H<strong>of</strong>meisteretal.,1999;Clementsetal.,2002a]:component-<strong>and</strong>-connector<br />
views<strong>and</strong>moduleviews.Asdiscussedintheprevioussectionwederivea<br />
conformancemetamodelforeach<strong>of</strong>thoseviewpoints.Infact,thesemetamodelseachspecifyanarchitecturedescriptionlanguage(ADL).<br />
Viewpointsdefinetherestrictionontheelements<strong>and</strong>relationstobe<br />
usedintheirprimarypresentation.Inourcaseweassumethatdiagrams<br />
areUMLdiagrams,<strong>and</strong>,thus,basedon(asubset<strong>of</strong>)theUMLmetamodel.<br />
Wederiveitsconformancemetamodelfromtherestrictionsitspecifies.It<br />
1 http://www.omg.org/m<strong>of</strong>(June2007)