Model Transformation Approach to Automated Model Driven Development
Automated Transformation from Descartes Meta Model to ... · Automated Transformation from...
Transcript of Automated Transformation from Descartes Meta Model to ... · Automated Transformation from...
Automated Transformation from Descartes Modeling Language to Palladio Component Model
Jürgen Walter, Simon Eismann, Adrian Hildebrandt
Dept. of Computer Science, University of Würzburg
Symposium on Software Performance, Nov 6th 2015, Munich, Germany
Differences PCM and DML?
2Jürgen Walter: Automated Transformation of Descartes Modeling Language to Palladio Component Model
Motivation
3Jürgen Walter: Automated Transformation of Descartes Modeling Language to Palladio Component Model
Benefits Transformation• Tooling can be reused• Improves understanding of differences• Flexibility to change
Benefits Automation• Automated transformation is faster, less error-prone and less expensive compared to manual
extraction
Project Overview
•Tooling has to be developed for each formalism•Comparison challenging•Manual transformation error-prone and time consuming
Problem
•Model transformation of DML to PCMIdea
•Reuse of existing PCM tooling for DML• Improved understanding of differences and similarities•Simplified change of formalism
Benefit
• Implement a model-to-model transformationAction
4Jürgen Walter: Automated Transformation of Descartes Modeling Language to Palladio Component Model
Architectural Performance Modeling
5Jürgen Walter: Automated Transformation of Descartes Modeling Language to Palladio Component Model
Transformation Overview
6
Resourcelandscape Resourceevironment
Jürgen Walter: Automated Transformation of Descartes Modeling Language to Palladio Component Model
Resource Landscape
7Jürgen Walter: Automated Transformation of Descartes Modeling Language to Palladio Component Model
Information loss
Hierarchical resource landscape
8Jürgen Walter: Automated Transformation of Descartes Modeling Language to Palladio Component Model
Resource Landscape
Specification of Processing Resources
9Jürgen Walter: Automated Transformation of Descartes Modeling Language to Palladio Component Model
Processing Resources
Hardware Layer
Software Layer
ComputingInfrastructure
Information loss
Resource Container
10Jürgen Walter: Automated Transformation of Descartes Modeling Language to Palladio Component Model
“Server“
DML Abstraction Layers• Fine-grained behavior• Coarse-grained behavior• Blackbox behavior
Service Behavior
Example:
11Jürgen Walter: Automated Transformation of Descartes Modeling Language to Palladio Component Model
PCM Abstraction Layer• Fine-grained behavior/SEFF
Fine-Grained Behavior Mapping
12Jürgen Walter: Automated Transformation of Descartes Modeling Language to Palladio Component Model
Coarse-Grained Behavior Mapping
13
Loop andBranchActions
Jürgen Walter: Automated Transformation of Descartes Modeling Language to Palladio Component Model
Blackbox Behavior Mapping
14Jürgen Walter: Automated Transformation of Descartes Modeling Language to Palladio Component Model
Technical Transformation Alternatives
Direct-Manipulation
•Multi-purposeprogramminglanguage
•e.g. JAVA
Relational/Declarative
•„Constraintsolving“
•e.g. QVT-R
Operational/ Imperative
•e.g. Xtend
Hybrid
•Declarative andimperative
•e.g. ATL, ETL
15Jürgen Walter: Automated Transformation of Descartes Modeling Language to Palladio Component Model
26 Unit Tests
Evaluation
Components Behavior Interface Resource Landscape
BasicComponent BlackBoxBehavior Interface LinkingResource
ComposedStructure FineGrainedBehavior Signature ComputingInfrastructure
AssemblyConnector ReleaseAction Parameter
ProvidingDelegationConnector
AquireAction PrimitiveDataType
RequiringDelegationConnector
ExternalCallAction ComposedDataType
AssemblyContext InternalCallAction
16
StoEx
BoolPMF, DoublePMF, EnumPMF, BoxedPDF, variableExpression, Term, Multiplication
Jürgen Walter: Automated Transformation of Descartes Modeling Language to Palladio Component Model
Case-study
17Jürgen Walter: Automated Transformation of Descartes Modeling Language to Palladio Component Model
Summary
•Tooling has to be developed for each formalism•Comparison challenging and time consuming•Manual transformation error-prone
Problem
•Model transformation of DML to PCMIdea
•Reuse of existing PCM tooling for DML• Improved understanding of differences and similarities•Simplified change of formalism
Benefit
• Implement a model-to-model transformationAction
18Jürgen Walter: Automated Transformation of Descartes Modeling Language to Palladio Component Model
THANK YOU
19Jürgen Walter: Automated Transformation of Descartes Modeling Language to Palladio Component Model
https://se3.informatik.uni-wuerzburg.de/descartes/dml2pcm
Literature
20Jürgen Walter: Automated Transformation of Descartes Modeling Language to Palladio Component Model