software institute peking university dec. 7, 2007

23
1 Software Institute Peking University Dec. 7, 2007 ABC Architecture Based Component Compos ition

Upload: steel-bridges

Post on 30-Dec-2015

38 views

Category:

Documents


0 download

DESCRIPTION

ABC : Architecture Based Component Composition. Software Institute Peking University Dec. 7, 2007. ABC Technical Framework. Architecture Based Component Composition. Feature Oriented Requirements Analysis. Design of Software Architecture. Architecture Based Application Deployment. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Software Institute Peking University Dec. 7, 2007

1

Software Institute

Peking University

Dec. 7, 2007

ABC:Architecture Based Component Compositio

n

Page 2: Software Institute Peking University Dec. 7, 2007

2

ABC Technical Framework

Feature Oriented

Requirements Analysis

Design of Software

Architecture

Architecture Based

Component Compositio

n

Architecture Based

Application Deployment

Architecture Based

Maintenance and

Evolution

FMTool (Feature Modeli

ng Tool)

ABCTool (Architecture Modeling Tool)

PKUAS (J2EE-compliant Middleware)

Proposed in 1998 Introduces software architectures into each phase of

software life cycle Aims for automated component based reuse Evolves to ……

Page 3: Software Institute Peking University Dec. 7, 2007

3

Reflective MiddlewareStandard Middleware

ABC Technical framework

ABCTool

Design View

Deployment View

Runtime View

Implementation View

Meta Model of ADL

Feature Oriented

Requirements Analysis

Object Oriented

Analysis & Design

Architecture Recovery of

Legacy Systems

Com

pon

en

tized

S

A

PKUASComponent

Library(JBCL)

Reusable Component

Deployment

Online maintenance & evolution

CORBA J2EE JOnAS Fractal

Web Services

Page 4: Software Institute Peking University Dec. 7, 2007

4

Illustrative Sample Java Pet Store (JPS)

A sample application by Java Blueprints program at Sun Microsystems An online pet store enterprise that sells products – animals – to

customers

OrderProcessCenter

Page 5: Software Institute Peking University Dec. 7, 2007

5

Feature Oriented ModelingTreats features as the basic entities in the

problem space. A feature describes a software characteristic from user or

customer views, which essentially consists of a cohesive set of individual requirements.

Uses features and relations between features (feature model) to specify the problem space.

Problem space

Feature

Relation between features

Feature-oriented view of the problem space

Page 6: Software Institute Peking University Dec. 7, 2007

6

GUI of FMTool

Domain Feature Model

Application Feature Model

Draft Software

Architecture

Page 7: Software Institute Peking University Dec. 7, 2007

7

Domain Feature Model of E-shops

Domain Feature Model

Application Feature Model

Draft Software Architecture

Page 8: Software Institute Peking University Dec. 7, 2007

8

Customized Feature Model of JPS

Domain Feature Model

Application Feature Model

Draft Software Architecture

Page 9: Software Institute Peking University Dec. 7, 2007

9

Draft Software Architecture of JPS

Feature model

Draft software architecture

Domain Feature Model

Application Feature Model

Draft Software Architecture

The way similar to functional decomposition works well in this case

Page 10: Software Institute Peking University Dec. 7, 2007

10

Software Architecture Modeling

Design ViewDeployment

ViewRuntime

ViewImplementation

View

Meta Model of ADL

Platform independent

Platform specific

Product specific

generality

The meta model of ADL only defines the elements common to all views and necessary for traceability

This meta model will become the Chinese Industry Standard soon

Page 11: Software Institute Peking University Dec. 7, 2007

11

Reusable Elements in Repository for Implementation.

Connector Type

Component Type

Design Perspective: Type Diagram

ABC Perspectives, each of which provides a set of diagrams for Design, Implementation, Deployment, Runtime M&E

Page 12: Software Institute Peking University Dec. 7, 2007

12

Design Perspective: Configuration Diagram

Tree of SA elements

Connection between component and connector

Page 13: Software Institute Peking University Dec. 7, 2007

13

Design Perspective: Inner architecture diagrammodeling architecture inside a componentZoom in & Zoom outHierarchical Modeling

Page 14: Software Institute Peking University Dec. 7, 2007

14

Design Perspective: Detail DialogShow detailed information of component “ShoppingClient”

Implementation Perspective:Similar with Design PerspectiveOnly add implementation specific infoe.g., ShoppingClient is implemented as a Java Servlet

Page 15: Software Institute Peking University Dec. 7, 2007

15

Automatic Generation of Design Document

Page 16: Software Institute Peking University Dec. 7, 2007

16

Architecture based Deployment

Challenges to Deployment (specific to J2EE) Understanding applications to be deployed

But the application becomes more and more complex Configuring the whole systems

But current tools require so many manual efforts Deploying to multiple nodes easily

But current tools only support node by node

Design ViewDeployment

ViewRuntime

ViewImplementation

View

Meta Model of ADL

Platform independent

Platform specific

Product specific

generality

Page 17: Software Institute Peking University Dec. 7, 2007

17

Architecture based Deployment Process

Page 18: Software Institute Peking University Dec. 7, 2007

18

Deployment Perspective: Configuration DiagramShow relationship between deployed elements

Highlight associated components of this DataSource

visualizing server resource utilization

Page 19: Software Institute Peking University Dec. 7, 2007

19

Architecture based Maintenance and Evolution

Online Maintenance and Evolution very valuable for large-scale distributed systems and 7x24

(7 days 24 hours) high availability But very challenging to why, when, what & how

ABC’s Runtime Software Architecture Leverages Software architecture knowledge for why, when & what Middleware adaptability for how

Design ViewDeployment

ViewRuntime

ViewImplementation

View

Meta Model of ADL

Platform independent

Platform specific

Product specific

generality

Page 20: Software Institute Peking University Dec. 7, 2007

20

Runtime Software Architecture

Self

Representation

by Meta Objects

Runtime Software Architecture A model representing a runtime system as a set of

architectural elements which are causally connected with the internal states and behaviors of the runtime system

Causal connection means changes at one side will immediately lead to the corresponding changes at the other side, and vice versa

Page 21: Software Institute Peking University Dec. 7, 2007

21

Runtime Perspective: Controller Dialogmonitor and control runtime states and behaviors through controllerscontroller is a meta object in RSAapplication developers can insert user-defined controllers into RSA for implementing application specific reflection

Runtime Perspective: Plentiful runtime info is added

Four steps using Runtime Perspective:1) Open SA artifacts in development (SA can be recovered

from runtime system but which lacks of design info)2) Associate SA elements with runtime entities (instantiate

SA to RSA)3) Customize whether a component is reflective and what

reflection is activated when necessary (for controlling performance penalty)

4) Reflecting SA elements

Page 22: Software Institute Peking University Dec. 7, 2007

22

ABC Applications & Collaboration

Applications Information modeling of Beijing 2008 Olympic Games Commercialized by four software companies Commercial use in finance, telecom, transportation, government, e

ducation, etc.Collaboration

One of OW2 founders (open source middleware community)merged by Objectweb & OrientwareJ2EE AS, Component Model, Autonomic Management

Integrated with AVAYA eXvantage (testing platform)Platform EGO (grid management)

Tokyo Univ. (model transformation), Arizona State Univ. (service oriented architecture), IBM (solution engineering), Lucent (feature interaction), ……

Page 23: Software Institute Peking University Dec. 7, 2007

23

Thanks

Feature Oriented

Requirements Analysis

Design of Software

Architecture

Architecture Based

Component Compositio

n

Architecture Based

Application Deployment

Architecture Based

Maintenance and

Evolution

FMTool (Feature Modeli

ng Tool)

ABCTool (Architecture Modeling Tool)

PKUAS (J2EE-compliant Middleware)

ABC: Architecture Centric Engineering for net based Software

Transformation