SlideShare a Scribd company logo
Pattern-driven Reuse in Architecture-centric
            Welcome
      Evolution for Service Software
        Aakash Ahmad, Pooyan Jamshidi and Claus Pahl
   Presentation Title
      [ahmad.aakash|pooyan.jamshidi|claus.pahl]@computing.dcu.ie


              Software and System Engineering group
           http://www.computing.dcu.ie/~cpahl/sse-group.htm
           School of Computing, Dublin City University, Ireland




                                            THE IRISH SOFTWARE ENGINEERING RESEARCH CENTRE
Agenda
        - Evolution in Service-driven Architectures

        - Related Research - Patterns and Evolution

        - Change Pattern to guide Architecture Evolution

        - Architecture Evolution-case for EBPP

        - Pattern-based Architecture Evolution

        - Experimental Analysis & Evaluation

        - Conclusions & Outlook

                                                                                                  2
LERO© 2010                                       THE IRISH SOFTWARE ENGINEERING RESEARCH CENTRE
Evolution in Service-driven Architectures
Service-Oriented Architecture (SOA) is a business-centric, architectural approach to model
business processes as technical software services to develop enterprise software.

     - Service components as the core computational entities (atomic or composite)
     - Connectors to establish service-level interconnections (association, composition etc.)
     - Configurations to allow topological configuration of components and connectors

Evolution in an SOA goes beyond a more conventional addition or removal of individual
components and connectors.

     - Process-centric change in terms of integration, replacement, decomposition etc.

     - Process aspects of change management requires an explicit specification of source
           and evolved architecture model with appropriate steps to complete the transition.


                                                                                                     3
LERO© 2011                                          THE IRISH SOFTWARE ENGINEERING RESEARCH CENTRE
The needs for Reuse in Service Architecture Evolution
A continuous change in business and technical requirements lead towards frequent
maintenance and evolution cycles in service software.




     …community wide efforts are required to develop processes, framework and
     patterns etc., to enable systematic maintenance an explicit evolution for SOAs …
     [MESOA 07, 08, 09, 10]



                                                                                                    4
LERO© 2011                                         THE IRISH SOFTWARE ENGINEERING RESEARCH CENTRE
Related Research - Patterns and Evolution
              Evolution in SOAs?                             Patterns in Architectural Abstractions?
              Evolution1Patterns                                  Process Change Patterns
      Repository                   Paths                              Process-centric Evolution


     Evolution Shelf          Evolution Styles              Process Change             Process Mining




                                            MESOA’07’08’09’10


                                    Maintenance, Evolution, Adaptation
                                      Reuse of Evolution in SOAs
                                                                                                        5
LERO© 2011                                             THE IRISH SOFTWARE ENGINEERING RESEARCH CENTRE
Change Patterns to guide Architecture Evolution
Central Hypothesis: The application of change patterns to architectural transformation supports potential
   reuse in architecture-centric software evolution.


  Pattern Identification – recurring sequences from Architecture Change Logs [IWSSA’12]
  Pattern Specification – once-off formal specification in Pattern Catalogue [SHARK’12]
  Pattern Instantiation – multiple instantiations to support pattern-based reuse in evolution.

                 Pattern-based Evolution                                    Benefits for Pattern-based Reuse




                                                                                                           6
 LERO© 2011                                               THE IRISH SOFTWARE ENGINEERING RESEARCH CENTRE
The Anatomy of Pattern-based Architecture Evolution
   Change pattern provides a generic, first class abstraction (that can be operationalised
   and parameterised) to support potential reuse in architectural change execution.

                                                𝐼𝑁𝑉(𝑂𝑃𝑅𝑛(𝑎𝑒𝑚∈𝐴𝐸))
             PAT<name, intent>: PRE(aem ∈ AE)                        POST(ae′m ∈ AE).




LERO© 2011
                                                                                                      7
                                                     THE IRISH SOFTWARE ENGINEERING RESEARCH CENTRE
Graph-based Change Pattern Notation
   Pattern Specification – as an attributed typed Graph (.GML) notation.

   Pattern Storage – Graph databse using Neo4j graph tuples.




LERO© 2011
                                                                                                8
                                               THE IRISH SOFTWARE ENGINEERING RESEARCH CENTRE
Architecture Evolution Case for EBPP
                            Evolution Use-case – Component Integration
                            Inclusion of Customer debt management in existing architecture
                             - Pre-conditions: architectural context before evolution
                             - Operationsliastion : individual change instances
                             - Postconditions : architectural context after evolution




                                                                                         9
LERO© 2011                              THE IRISH SOFTWARE ENGINEERING RESEARCH CENTRE
Pattern-based Architecture Evolution
             Step 1: Architecture Change Specification.
             Step 2: Change Pattern Retrieval
             Step 3: Change Pattern Instantiation




                                                                                                   10
LERO© 2010                                        THE IRISH SOFTWARE ENGINEERING RESEARCH CENTRE
Step 1: Change Specification
  A declarative specification allows syntactical context of architectural change:
      i) Source Architecture Model (GS)
     ii) Architectural Constraints as pre- and post-conditions (PRE, POST ∈ [CNS])
    iii) Architecture Elements (AE) that need to evolved such that AE ∈ GS.

                Context Constraints: Gs inv, pre, post -- Constraints specification on architecture model

                -- Invarinats for structural integrity of component and connector

                 inv: Constraints.INV -> forAll(Component.hasPORT >= 1)



                -- Preconditions to specify existence of architecture elements before evolution

                  pre: Constraints.PRE -> exists(Component = ‘BillerApp’)

                 pre: Constraints.PRE -> exists(Connector(BillerApp, custBill) | Connector = ‘billingData’)



                -- Post to specify existence of architecture elements after evolution

                 post: Constraints.POST-> exists(Component = ‘BillerApp’)

                  post: Constraints.POST -> exists(Component = ‘custBill’)

                  post: Constraints.POST -> exists(Connector(billType, custBill) | Connector = ‘getType’)


                              OCL-based Constraints Specification on Architecture Models

                                                                                                                                         11
LERO© 2010                                                                              THE IRISH SOFTWARE ENGINEERING RESEARCH CENTRE
Step 2: Change Pattern Retrieval
                                   (Root) <relatesTo> [Nodes] :
(ChangePattern) <isComposedOf, ConstrainedBy, Evolves> [Operators | Constraints | ArchitectureModel]


 Query - Which change pattern(s) allow integration of a mediator component among two directly connected
 components?
                  01: START pattern = node(ChangePattern)

                  02: MATCH (pattern) – [:ConstrainedBy] - > (Constraints)

                  03:                   – [:Composedof] - > (Operators)

                  04: WHERE Operators IS NOT Null

                  05: RETURN ChangPattern.name, ChangePattern.intent, Operators.operatorType


                 Listing: Cypher Query to Retrieve Pattern Name, Intent and Operationalisation




        START - command to set the primary node(s),
        MATCH - based on user-specified change constraints respectively.
        WHERE - allows for additional conditional checking, while
        RETURN - provides the gathered results.

                                                                                                                   12
LERO© 2010                                                        THE IRISH SOFTWARE ENGINEERING RESEARCH CENTRE
Step 3: Change Pattern Instantiation

                                                                                               
                                                                                                     
                                    
                                                                                             




- Pattern Instantiation                                            




- Addition                         ms : S  GS                                          mt : T  GT
              ∈
Add<billType • CMP>;
Add<billingType ∈ CON>;
                                                          mI : I  GI
Add<getType ∈ CON>

- Removal
 Rem<billingData ∈ CON>.




                                                     GS S GI T GT
                                                            

                                                                                                          13
LERO© 2010                                       THE IRISH SOFTWARE ENGINEERING RESEARCH CENTRE
Experimental Analysis & Evaluation


   1 Scenario-based Evaluation
      - EBPP & TRS Evolution Cases
     - Pattern Types & Adequacy




  2 Prototype-based Validation
     - Automated Pattern-based Evolution
    - Survey & Usability Analysis




                                                                                            14
LERO© 2010                                 THE IRISH SOFTWARE ENGINEERING RESEARCH CENTRE
Recap
Discover Evolution Pattern

- prototype: G-Pride




                                                                         Pat-Evol Project
Maintain Pattern Library

- prototype: Pat-Lib




Reuse Change Execution

- prototype: Pat-Evol




                             THE IRISH SOFTWARE ENGINEERING RESEARCH CENTRE
Thank you for your attention.




                                                                                 16
LERO© 2011                      THE IRISH SOFTWARE ENGINEERING RESEARCH CENTRE

More Related Content

PDF
Graph Pattern Identification
PDF
9th OA+ Conference - Nov 2006 - Open Modeling Coalition Update
PDF
Component-Based and Model-Driven Engineering: what is the difference? A CBSE ...
PDF
A framework for distributed control and building performance simulation
PPT
A classification framework for component models
PDF
M3 Modernization Case Study
PDF
A Feature-based Framework for Model-Driven Engineering
PPTX
A crash course in Social Media
Graph Pattern Identification
9th OA+ Conference - Nov 2006 - Open Modeling Coalition Update
Component-Based and Model-Driven Engineering: what is the difference? A CBSE ...
A framework for distributed control and building performance simulation
A classification framework for component models
M3 Modernization Case Study
A Feature-based Framework for Model-Driven Engineering
A crash course in Social Media

Viewers also liked (6)

PDF
Szeptemberi hírlevél kész
PDF
Apps, APIs and Opportunities: Platform integration and opportunities
PDF
Tihanyi Fanni (9. évfolyam) – Rogerschool (iskolaújság) - Rogers Középiskola,...
PPTX
Viadeo Student Challenge : présentation de l'équipe lauréate !
PPTX
Viadeo Student Challenge : présentation de la 3ème meilleure équipe !
PDF
Viadeo Student Challenge : présentation de la 2ème meilleure équipe !
Szeptemberi hírlevél kész
Apps, APIs and Opportunities: Platform integration and opportunities
Tihanyi Fanni (9. évfolyam) – Rogerschool (iskolaújság) - Rogers Középiskola,...
Viadeo Student Challenge : présentation de l'équipe lauréate !
Viadeo Student Challenge : présentation de la 3ème meilleure équipe !
Viadeo Student Challenge : présentation de la 2ème meilleure équipe !
Ad

Similar to Pattern-based Evolution (20)

PDF
Architecture Knowledge
PDF
10 - Architetture Software - More architectural styles
PDF
PatEvol - A Pattern Language for Evolution in Component-based Software Archit...
PDF
Using Evolution Patterns to Evolve Software Architectures
PDF
Introduction to Object Oriented Design
PDF
ASE01.ppt
PDF
Microservices Design Patterns
PDF
Cse 6007 fall2012
PPT
Design patterns
PDF
Lição prova professor coordenador
PPTX
PHX Session #5 : Architecture Without Big Design Up Front (Garibay)
PDF
Framework Engineering_Final
PDF
When Should You Consider Meta Architectures
PDF
When Should You Consider Meta Architectures
PDF
A Framework for Classifying and Comparing Architecture-Centric Software Evolu...
PPTX
Evolution of Patterns
PDF
Design Patterns
PPTX
Dynamic Evolution and Reconfiguration of Software Architectures through Aspec...
PPTX
L03 Design Patterns
PDF
Design Patterns Summer Course 2009-2010 - Session#1
Architecture Knowledge
10 - Architetture Software - More architectural styles
PatEvol - A Pattern Language for Evolution in Component-based Software Archit...
Using Evolution Patterns to Evolve Software Architectures
Introduction to Object Oriented Design
ASE01.ppt
Microservices Design Patterns
Cse 6007 fall2012
Design patterns
Lição prova professor coordenador
PHX Session #5 : Architecture Without Big Design Up Front (Garibay)
Framework Engineering_Final
When Should You Consider Meta Architectures
When Should You Consider Meta Architectures
A Framework for Classifying and Comparing Architecture-Centric Software Evolu...
Evolution of Patterns
Design Patterns
Dynamic Evolution and Reconfiguration of Software Architectures through Aspec...
L03 Design Patterns
Design Patterns Summer Course 2009-2010 - Session#1
Ad

Recently uploaded (20)

PDF
Encapsulation theory and applications.pdf
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PPTX
sap open course for s4hana steps from ECC to s4
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PPTX
MYSQL Presentation for SQL database connectivity
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
cuic standard and advanced reporting.pdf
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PPT
Teaching material agriculture food technology
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
A comparative analysis of optical character recognition models for extracting...
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PDF
Chapter 3 Spatial Domain Image Processing.pdf
Encapsulation theory and applications.pdf
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
sap open course for s4hana steps from ECC to s4
“AI and Expert System Decision Support & Business Intelligence Systems”
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
MYSQL Presentation for SQL database connectivity
20250228 LYD VKU AI Blended-Learning.pptx
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Network Security Unit 5.pdf for BCA BBA.
NewMind AI Weekly Chronicles - August'25-Week II
The Rise and Fall of 3GPP – Time for a Sabbatical?
cuic standard and advanced reporting.pdf
Digital-Transformation-Roadmap-for-Companies.pptx
Teaching material agriculture food technology
Encapsulation_ Review paper, used for researhc scholars
MIND Revenue Release Quarter 2 2025 Press Release
Dropbox Q2 2025 Financial Results & Investor Presentation
A comparative analysis of optical character recognition models for extracting...
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
Chapter 3 Spatial Domain Image Processing.pdf

Pattern-based Evolution

  • 1. Pattern-driven Reuse in Architecture-centric Welcome Evolution for Service Software Aakash Ahmad, Pooyan Jamshidi and Claus Pahl Presentation Title [ahmad.aakash|pooyan.jamshidi|claus.pahl]@computing.dcu.ie Software and System Engineering group http://www.computing.dcu.ie/~cpahl/sse-group.htm School of Computing, Dublin City University, Ireland THE IRISH SOFTWARE ENGINEERING RESEARCH CENTRE
  • 2. Agenda - Evolution in Service-driven Architectures - Related Research - Patterns and Evolution - Change Pattern to guide Architecture Evolution - Architecture Evolution-case for EBPP - Pattern-based Architecture Evolution - Experimental Analysis & Evaluation - Conclusions & Outlook 2 LERO© 2010 THE IRISH SOFTWARE ENGINEERING RESEARCH CENTRE
  • 3. Evolution in Service-driven Architectures Service-Oriented Architecture (SOA) is a business-centric, architectural approach to model business processes as technical software services to develop enterprise software. - Service components as the core computational entities (atomic or composite) - Connectors to establish service-level interconnections (association, composition etc.) - Configurations to allow topological configuration of components and connectors Evolution in an SOA goes beyond a more conventional addition or removal of individual components and connectors. - Process-centric change in terms of integration, replacement, decomposition etc. - Process aspects of change management requires an explicit specification of source and evolved architecture model with appropriate steps to complete the transition. 3 LERO© 2011 THE IRISH SOFTWARE ENGINEERING RESEARCH CENTRE
  • 4. The needs for Reuse in Service Architecture Evolution A continuous change in business and technical requirements lead towards frequent maintenance and evolution cycles in service software. …community wide efforts are required to develop processes, framework and patterns etc., to enable systematic maintenance an explicit evolution for SOAs … [MESOA 07, 08, 09, 10] 4 LERO© 2011 THE IRISH SOFTWARE ENGINEERING RESEARCH CENTRE
  • 5. Related Research - Patterns and Evolution Evolution in SOAs? Patterns in Architectural Abstractions? Evolution1Patterns Process Change Patterns Repository Paths Process-centric Evolution Evolution Shelf Evolution Styles Process Change Process Mining MESOA’07’08’09’10 Maintenance, Evolution, Adaptation Reuse of Evolution in SOAs 5 LERO© 2011 THE IRISH SOFTWARE ENGINEERING RESEARCH CENTRE
  • 6. Change Patterns to guide Architecture Evolution Central Hypothesis: The application of change patterns to architectural transformation supports potential reuse in architecture-centric software evolution. Pattern Identification – recurring sequences from Architecture Change Logs [IWSSA’12] Pattern Specification – once-off formal specification in Pattern Catalogue [SHARK’12] Pattern Instantiation – multiple instantiations to support pattern-based reuse in evolution. Pattern-based Evolution Benefits for Pattern-based Reuse 6 LERO© 2011 THE IRISH SOFTWARE ENGINEERING RESEARCH CENTRE
  • 7. The Anatomy of Pattern-based Architecture Evolution Change pattern provides a generic, first class abstraction (that can be operationalised and parameterised) to support potential reuse in architectural change execution. 𝐼𝑁𝑉(𝑂𝑃𝑅𝑛(𝑎𝑒𝑚∈𝐴𝐸)) PAT<name, intent>: PRE(aem ∈ AE) POST(ae′m ∈ AE). LERO© 2011 7 THE IRISH SOFTWARE ENGINEERING RESEARCH CENTRE
  • 8. Graph-based Change Pattern Notation Pattern Specification – as an attributed typed Graph (.GML) notation. Pattern Storage – Graph databse using Neo4j graph tuples. LERO© 2011 8 THE IRISH SOFTWARE ENGINEERING RESEARCH CENTRE
  • 9. Architecture Evolution Case for EBPP Evolution Use-case – Component Integration Inclusion of Customer debt management in existing architecture - Pre-conditions: architectural context before evolution - Operationsliastion : individual change instances - Postconditions : architectural context after evolution 9 LERO© 2011 THE IRISH SOFTWARE ENGINEERING RESEARCH CENTRE
  • 10. Pattern-based Architecture Evolution Step 1: Architecture Change Specification. Step 2: Change Pattern Retrieval Step 3: Change Pattern Instantiation 10 LERO© 2010 THE IRISH SOFTWARE ENGINEERING RESEARCH CENTRE
  • 11. Step 1: Change Specification A declarative specification allows syntactical context of architectural change: i) Source Architecture Model (GS) ii) Architectural Constraints as pre- and post-conditions (PRE, POST ∈ [CNS]) iii) Architecture Elements (AE) that need to evolved such that AE ∈ GS. Context Constraints: Gs inv, pre, post -- Constraints specification on architecture model -- Invarinats for structural integrity of component and connector inv: Constraints.INV -> forAll(Component.hasPORT >= 1) -- Preconditions to specify existence of architecture elements before evolution pre: Constraints.PRE -> exists(Component = ‘BillerApp’) pre: Constraints.PRE -> exists(Connector(BillerApp, custBill) | Connector = ‘billingData’) -- Post to specify existence of architecture elements after evolution post: Constraints.POST-> exists(Component = ‘BillerApp’) post: Constraints.POST -> exists(Component = ‘custBill’) post: Constraints.POST -> exists(Connector(billType, custBill) | Connector = ‘getType’) OCL-based Constraints Specification on Architecture Models 11 LERO© 2010 THE IRISH SOFTWARE ENGINEERING RESEARCH CENTRE
  • 12. Step 2: Change Pattern Retrieval (Root) <relatesTo> [Nodes] : (ChangePattern) <isComposedOf, ConstrainedBy, Evolves> [Operators | Constraints | ArchitectureModel] Query - Which change pattern(s) allow integration of a mediator component among two directly connected components? 01: START pattern = node(ChangePattern) 02: MATCH (pattern) – [:ConstrainedBy] - > (Constraints) 03: – [:Composedof] - > (Operators) 04: WHERE Operators IS NOT Null 05: RETURN ChangPattern.name, ChangePattern.intent, Operators.operatorType Listing: Cypher Query to Retrieve Pattern Name, Intent and Operationalisation START - command to set the primary node(s), MATCH - based on user-specified change constraints respectively. WHERE - allows for additional conditional checking, while RETURN - provides the gathered results. 12 LERO© 2010 THE IRISH SOFTWARE ENGINEERING RESEARCH CENTRE
  • 13. Step 3: Change Pattern Instantiation           - Pattern Instantiation   - Addition ms : S  GS mt : T  GT ∈ Add<billType • CMP>; Add<billingType ∈ CON>; mI : I  GI Add<getType ∈ CON> - Removal Rem<billingData ∈ CON>. GS S GI T GT   13 LERO© 2010 THE IRISH SOFTWARE ENGINEERING RESEARCH CENTRE
  • 14. Experimental Analysis & Evaluation 1 Scenario-based Evaluation - EBPP & TRS Evolution Cases - Pattern Types & Adequacy 2 Prototype-based Validation - Automated Pattern-based Evolution - Survey & Usability Analysis 14 LERO© 2010 THE IRISH SOFTWARE ENGINEERING RESEARCH CENTRE
  • 15. Recap Discover Evolution Pattern - prototype: G-Pride Pat-Evol Project Maintain Pattern Library - prototype: Pat-Lib Reuse Change Execution - prototype: Pat-Evol THE IRISH SOFTWARE ENGINEERING RESEARCH CENTRE
  • 16. Thank you for your attention. 16 LERO© 2011 THE IRISH SOFTWARE ENGINEERING RESEARCH CENTRE