190 likes | 312 Views
Formally Modeling Software Architectures with the UML 2.0 Profile for π -ADL. Paper written by Flavio Oquendo Presented by Ernesto Medina. Outline. Introduction to π -ADL UML 2.0 Profile for π -ADL Examples from case study Tool sets Questions Group Exercise. Introduction to π -ADL.
E N D
Formally Modeling Software Architectures with the UML 2.0 Profile for π-ADL Paper written by Flavio Oquendo Presented by Ernesto Medina
Outline • Introduction to π-ADL • UML 2.0 Profile for π-ADL • Examples from case study • Tool sets • Questions • Group Exercise
Introduction to π-ADL • Supported Elements • Components • Connectors • Composition
Components Consist of: • Ports (external) • Connections between component and environment • Interface to environment • Protocols can be enforced here • Internal behavior • Send or Receive values via connections (output, input, or input-output)
Connectors • Special Purpose Components • Ports • Internal Behavior • Manage component interaction
π-ADL syntax Value Types Base Types
π-ADL syntax-2 Constructed Types
π-ADL syntax-3 Behaviors
π-ADL syntax-4 Architecture
UML 2.0 Profile for π-ADL • Stereotype Icons
UML 2.0 Profile for π-ADL -2 • Behavior • States • Transitions • Sequence Behavior • Choice • Replicated • Restricted • Recursive • Composed
Examples from Case Study-2 UML Icon Display UML Decoration Display π-ADL
Tool sets • π-ADL visual modeling tool • π-ADL verification tool • π-ADL-to-Code synthesizer • π-ADL-to-Java code generation tool
Group Exercise • The handout contains π-ADL syntax and the description of a Pipe connection, Filter component, and Generator component for software that computes primes. The task is to define the overall architecture using π-ADL syntax. Then create a UML 2.0 icon and decoration display for the overall architecture Here is the syntax to get you started: architecture ComputingPrimes is abstraction(n, eos : Natural){ }