The aim of this work is to elaborate and develop a prototypal framework that allows to define modular connectors, starting from connector design up to deploy physically them on a real system. The framework will be divided in three main parts. The first one will have to do with connector modeling: users will be able to design and specify through a graphical editor protocol mediators. In the second phase, we can proceed with connector synthesis. Roughly speaking, synthesis process permits to obtain mediators specification, expressed as the composition of independent mediation patterns. In the third part, user could deploy the resulting mediators on real system.
Modeling and Synthesizing Modular Connectors via composition of protocol mediation pattern
1. MODELLAZIONE E SINTESI DI
CONNETTORI MODULARI TRAMITE
COMPOSIZIONE DI PATTERN DI
MEDIAZIONE
CANDIDATO LAMONACO GIACOMO
RELATORI TIVOLI MASSIMO
AUTILI MARCO
Lamonaco Giacomo| Tesi di laurea magistrale
UNIVERSITA’DEGLI STUDI
DELL’AQUILA
Dipartimento di Ingegneriae Scienze
dell'InformazioneeMatematica
CORSODILAUREAMAGISTRALEIN
INFORMATICA
ANNOACCADEMICO
2013/2014
3. WHY?
SOFTWARE COMMUNICATION MISMATCHES
L’utilizzo di servizi software eterogenei e la necessità di fornire
interoperabilità può far insorgere problemi di comunicazioni
2
LOGIN !
???
Purchase Order Mediation scenario from the Semantic Web Service (SWS) Challenge2
Blue Service
4. HOW?
SOFTWARE CONNECTORS
La nostra soluzione si basa sull’utilizzo di connettori software, basandoci su
una particolare ALGEBRA DEI CONNETTORI
3
LOGIN !
START
ORDER
Purchase Order Mediation scenario from the Semantic Web Service (SWS) Challenge2
Blue Service
5. GOAL ?
FRAMEWORKDI MODELLAZIONEE SINTESI
Il nostro obiettivo è di fornire un framework prototipale che permetta la
modellazione e sintesi di connettori software, basata sull’algebra dei connettori
4
Modeling
Synthesis
Deploy
6. CONNECTOR ALGEBRA?
TEORIA CHE REGOLALA MEDIAZIONETRA PROTOCOLLI
Fornisce primitive di base che regolano incorrispondenze ricorrenti ed
operatori composti che permettono di ottenere connettori modulari
5
Plugging
Alternation
Conjuction
Quotienting
Invert
7. PREVIOUS WORK
CONNECTOR ALGEBRA, EIPe APACHE CAMEL
In un precedente lavoro abbiamo individuato l’analogia tra l’algebra dei
connettori e gli Enterprise Integration Pattern, che trovano una ben nota
implementazione in un progetto di Apache: CAMEL
6
Message Translator
Message Splitter
Message Aggregator
Message Resequencer
8. WHAT TO DO?
SUPPORTARE LA FASE DI MODELLAZIONE
7
1
2
3
Implementazione dell’algebra dei
connetori basata su Apache
Camel
Sintesi automatica di connettori
software
Proporre un framework di
modellazione e sintesi di
connettori software
DONE ✓
FUTURE ?
PRESENT !
9. CONNECTORS MODELING?
STRUTTURA DELFRAMEWORK
La modellazione avviene tramite un editor grafico, che permette di ottenere in
maniera automatica la rappresentazione testuale sottostante.
8
CONNECTORS
MODELING EDITOR
Representation of
synthesized connector CONNECTOR
ALGEBRA LIBRARY
CAMEL ROUTE
Connector Algebra
DSL specificiation
Model to Text Unmarshaling Deploy
Indipendente dallo schema - Supporta l’evoluzione dello schema – Model 2 Text – Built in deploy
In questo l’utilizzo dell’editor consiste nella definizione delle info di deploy, che non possiamo derivare dalla fase di sintesi. Inoltre la libreria esistente è stata adattato per il supporto della sintesi automatica