10
A Model Driven Reverse Engineering (MDRE) Framework MoDisco 18/06/22 1 © AtlanMod - atlanmod- [email protected] Eclipse DemoCamp Indigo Nantes (France) – Thursday 30 th of June 2011

MoDisco & ATL - Eclipse DemoCamp Indigo 2011 in Nantes

Embed Size (px)

DESCRIPTION

MoDisco & ATL short presentation made during the Eclipse DemoCamp Indigo 2011 in Nantes on Thursday the 30th of June 2011.

Citation preview

Page 1: MoDisco & ATL - Eclipse DemoCamp Indigo 2011 in Nantes

A Model Driven Reverse Engineering (MDRE) Framework

MoDisco

12/04/23 1© AtlanMod - [email protected]

Eclipse DemoCamp IndigoNantes (France) – Thursday 30th of June 2011

Page 2: MoDisco & ATL - Eclipse DemoCamp Indigo 2011 in Nantes

Different Possible MDRE Scenarios

12/04/23 2© AtlanMod - [email protected]

Legacy Technologies

Source code

Databases

Configurationfiles

Other sources

Outputs

• Quality Analysis

• Understanding

• Code Refactoring

• Technical Migration

• Etc

Scenarios

Documentation

Models

New system

Metrics

MoDisco

Page 3: MoDisco & ATL - Eclipse DemoCamp Indigo 2011 in Nantes

Model Driven Reverse Engineering (MDRE) Approach

Use models to represent and manipulateartifacts from existing systems

12/04/23 3© AtlanMod - [email protected]

Software artifacts : - source code - configuration files - tests - database - …

ExistingLegacy System Discover

Models

Understand

Viewpoints

Transform

NewSoftware Artifacts

Page 4: MoDisco & ATL - Eclipse DemoCamp Indigo 2011 in Nantes

Eclipse-MDT MoDisco Project

An Eclipse framework to support the elaboration of MDRE solutions

– Official Eclipse Modeling project (in MDT) Open-source (EPL) Based on other Eclipse Modeling projects Released with Helios & Indigo

– Supported by the OMG Reference implementations for

– KDM (Knowledge Discovery Metamodel) – SMM (Structured Metrics Metamodel)– ASTM (Abstract Syntax Tree Metamodel)

12/04/23 4© AtlanMod - [email protected]

Page 5: MoDisco & ATL - Eclipse DemoCamp Indigo 2011 in Nantes

MoDisco: Global Architecture

12/04/23 5© AtlanMod - [email protected]

Supported Technologies

Infrastructure

Java MetamodelDiscovererGeneratorTransfo. to KDM/UML

XMLMetamodelDiscovererGenerator

. . .

Customization & Extensibility

Definition ofspecific viewpoints

DiscoveryManager

Plug and orchestratetransformations

Eclipse Modeling projects

JSPMetamodelDiscovererGenerator

OMG/ADMStandards

Pivot metamodels(KDM, ASTM, SMM)

Model Browser

Navigation through complex models

Page 6: MoDisco & ATL - Eclipse DemoCamp Indigo 2011 in Nantes

References

12/04/23 6© AtlanMod - [email protected]

Useful links– MoDisco homepage

http://www.eclipse.org/MoDisco – MoDisco wiki (documentation)

http://wiki.eclipse.org/MoDisco

Contact– Hugo Bruneliere (MoDisco project co-leader)

[email protected] – MoDisco forum

http://www.eclipse.org/forums/eclipse.modisco

Page 7: MoDisco & ATL - Eclipse DemoCamp Indigo 2011 in Nantes

A Model-to-Model (M2M) Transformation Language & Environment

12/04/23 7© AtlanMod - [email protected]

Eclipse DemoCamp IndigoNantes (France) – Thursday 30th of June 2011

Page 8: MoDisco & ATL - Eclipse DemoCamp Indigo 2011 in Nantes

Model-to-Model (M2M) Transformation Approach

Use transformations to implement mappings at the model level (semantic & syntactic)

12/04/23 8© AtlanMod - [email protected]

JavaMetamodel

TransformationJava-to-UML2

Conforms to

UML2Metamodel

Model b

Conforms to

Model a

Conforms toConforms to

Page 9: MoDisco & ATL - Eclipse DemoCamp Indigo 2011 in Nantes

Eclipse-M2M ATL Project

An Eclipse environment to support the development and execution of

Model-to-Model transformations

– Official Eclipse Modeling project (in M2M) Open-source (EPL) Based on the Eclipse Modeling Framework (EMF) Using the Object Constraint Language (OMG OCL) Released with Ganymede, Helios & Indigo

– Complete Eclipse Tooling ATL language (declarative, QVT-like) ATL Virtual Machine (VM) ATL Integrated Development Environment (IDE) ATL use case & transformation library

12/04/23 9© AtlanMod - [email protected]

Page 10: MoDisco & ATL - Eclipse DemoCamp Indigo 2011 in Nantes

References

12/04/23 10© AtlanMod - [email protected]

Useful links– ATL homepage

http://www.eclipse.org/atl/ – ATL documentation

http://www.eclipse.org/atl/documentation/ Contact– Hugo Bruneliere

[email protected] – M2M forum (use the [ATL] tag in the subject)

http://www.eclipse.org/forums/eclipse.modeling.m2m