LEGACY2CLOUD:
COME RISOLVERE IL PROBLEMA ?
Luca Mainetti
Università del Salento
Bari, 1 ottobre 2015
Come la vede il mercato: Aberdeen + Gartner
•  Legacy Applications,
which account for
upwards of 70% of
enterprise business
operations, consumes
as much as 80% of
software budgets
•  Rehost on
infrastructure as a
service (IaaS)
•  Refactor for platform
as a service (PaaS)
•  Revise for IaaS or
PaaS
•  Rebuild on PaaS
•  Replace with software
as a service (SaaS)
Come la vede la ricerca: OMG
metodologia
La#metodologia*è#derivata#da#
metodiallo*stato*dell’arte*
nella#comunità#scien3fica#e#
dagli#standard#defini3#dall’*
OMG*(Object*Management*
Group)
Sistema
Legacy
Artefatti:
•  codice sorgente
•  file di configurazione
•  struttura database
•  …
Knowledge
Discovery MetaModel (KDM)
Pattern
Recognition
Abstract Syntax Tree
Meta-Model (ASTM)
Refactoring
Package
Structured Metrics
Meta-Model (SMM)
Transformation
Package
Visualization
Package
4
strumenti
DAO & Business logic
Java
Java EE
(Hibernate + struts)
COBOL
.NET
(C# + NHibernate)
PHP
VB6
ORACLE
RPG
…
K.NEW
… Python
…
Presentation
Rich clients
(Adobe Flex / MS
Silverlight)
Thin clients
(DHTML / Ajax)
Delphi
Rich clients
(Eclipse RCP)
FAT clients
(Java SWT, Swing)
Mobile clients
(Android)
…
5
strumenti
Pre-processing: legacy source analysis
6
strumenti
Pre-processing: from (legacy) source to Java
7
strumenti
Code 2 Model
8
strumenti
Model 2 target Code
9
strumenti
Metrics