Discover models out of existing applications with Eclipse/MoDisco

2,753 views
2,632 views

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
2,753
On SlideShare
0
From Embeds
0
Number of Embeds
152
Actions
Shares
0
Downloads
40
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Discover models out of existing applications with Eclipse/MoDisco

  1. 1. MoDisco Discover models out of existing applications www.eclipse.org/gmt/modisco Overview Legacy is available in a high variety of heterogeneous formats. Building tools for performing various operations on these legacy systems is a tedious and time consuming task. Using models to describe existing systems allows reusing tools provided by the Eclipse Modeling Project : transformation, visualization, validation, generation, … <ul><li>Objectives </li></ul><ul><li>The MoDisco Eclipse initiative aims at providing </li></ul><ul><li>a framework to allow extracting and exploiting models from legacy systems . </li></ul><ul><li>MoDisco will facilitate the development of model-driven tools supporting legacy modernization use-cases : </li></ul><ul><ul><li>Quality Analysis </li></ul></ul><ul><ul><li>Legacy Understanding </li></ul></ul><ul><ul><li>Reverse-modeling </li></ul></ul><ul><ul><li>Refactoring </li></ul></ul><ul><ul><li>Migration </li></ul></ul>MoDisco Legacy Systems <ul><li>How to contribute ? </li></ul><ul><li>Contributors are welcome to enrich MoDisco with : </li></ul><ul><li>new modernization use-cases </li></ul><ul><li>extensions of MoDisco components </li></ul><ul><li>metamodels of legacy technologies </li></ul><ul><li>discoverers and model transformations </li></ul><ul><li>Key principles </li></ul><ul><li>Based on EMF </li></ul><ul><li>Integrates OMG/ADM standards (KDM, SMM) </li></ul><ul><li>Open to any legacy technology </li></ul><ul><li>Extensible to many modernization use-cases </li></ul>Modernization helpers <ul><li>Documentation </li></ul><ul><li>Impact analysis </li></ul><ul><li>Models </li></ul><ul><li>Viewpoints </li></ul><ul><li>Restructured code </li></ul><ul><li>Migrated code </li></ul><ul><li>Metrics </li></ul><ul><li>Norms checking </li></ul>Eclipse Modeling Source code Databases Configuration files
  2. 2. MoDisco Discover models out of existing applications www.eclipse.org/gmt/modisco <ul><li>Architecture </li></ul><ul><li>To facilitate reuse of components between several use-cases, MoDisco has been organized in three layers: </li></ul><ul><ul><li>the Use-Cases layer containing components providing a solution for a specific modernization use-case. </li></ul></ul><ul><ul><li>the Technologies layer containing components dedicated to one legacy technology but independent from the modernization use case. </li></ul></ul><ul><ul><li>the Infrastructure layer containing generic components independent from any legacy technology. </li></ul></ul>Metamodels and discoverers As MoDisco is a model-driven legacy modernization platform, it provides a set of metamodels for representing existing systems and corresponding discoverers to create models out of legacy artifacts. MoDisco comes with technology-specific metamodels ( Java , C# , VB , …) and technology-independent standard metamodels from OMG/ADM ( KDM and SMM ). <ul><li>Generic Model Browser </li></ul><ul><li>The MoDisco model browser is an extension of the default Ecore model browser. It can be used to display any EMF model in a feature-rich treeview : </li></ul><ul><li>Display of links and associated model elements </li></ul><ul><li>Infinite tree to navigate through links </li></ul><ul><li>Display of attributes values in the tree </li></ul><ul><li>Support of extensions developed for default browser </li></ul><ul><li>Direct access to all instances of a metaclass </li></ul><ul><li>Display of the eContainer </li></ul><ul><li>Hierarchical view of metaclasses </li></ul><ul><li>Display options to view/hide information </li></ul><ul><li>Display of model elements in a table </li></ul>
  3. 3. MoDisco Discover models out of existing applications www.eclipse.org/gmt/modisco Western Geco has developed a Large Scale Data Intensive Geological system with heterogeneous technologies (Java, C#, C, C++, …). Understanding this system has became difficult because parts of this system have no documentation, no model and initial developers have gone. For the Modelplex project, Mia-Software has developed a tool based on MoDisco to extract lightweight UML models by analyzing specific kind of dependencies from a selected Java or C# class. About Western-Geco WesternGeco, a business unit of Schlumberger, is the world's leading geophysical services company. The time-lapse, or 4D, seismic method involves acquisition, processing, and interpretation of repeated seismic surveys over a producing hydrocarbon field. <ul><li>To attain this goal, seismic acquisition has implied the development of a complex system : </li></ul><ul><ul><li>Data rate > 100MB/s </li></ul></ul><ul><ul><li>Number of sensors > 100000 </li></ul></ul><ul><ul><li>Disk capacity > 60 Tbyte </li></ul></ul><ul><ul><li>Compute power > 1 TFlop </li></ul></ul><ul><ul><li>Network of computers > 500 </li></ul></ul><ul><ul><li>Heterogeneity : C, C++, C#, Java, etc. </li></ul></ul><ul><li>Architecture of the solution </li></ul><ul><li>The tool is built upon these components : </li></ul><ul><li>a Java and a C# discoverers to create a KDM model out of Java and C# source code </li></ul><ul><li>an ATL transformation to enrich the KDM model with dependencies </li></ul><ul><li>a transformation to UML to export the result into Eclipse UML2 tools </li></ul>Sample use-case : understanding complex legacy applications

×