240 likes | 443 Views
Data Tier. Business Tier. Web Layer. Client Layer. Architectural Model. read. System State. Management agent. Causal Connection. write. maintain. Runtime Architecture Infrastructure. read/write. read/write. Specifications (for developers). Runtime Architectures (for maintainers).
E N D
Data Tier Business Tier Web Layer Client Layer
Architectural Model read System State Management agent Causal Connection write maintain Runtime Architecture Infrastructure read/write read/write
Specifications (for developers) Runtime Architectures(for maintainers) The Infrastructure read/write xmifiles architecture adapter architecture meta-model generate savedas Architecture Model relation S2T { domain s s:S{…} domain t t:T{…} }... access model-to-runtime synch engine input CausalConnection auto maintain consistency relation access RuntimeSystem management interface system adapter generate manipulated by system meta-model invoke
Define architecture Generate code .ecore plug-in projects Define consistency relation using QVT Define system Generate code .ecore plug-in projects Define API Run eclipse product .access Enjoy managing the sample view Configure the synch command Create an empty architecture model Create an environment project
Define architecture Generate code .ecore plug-in projects Define consistency relation using QVT Define system Generate code .ecore plug-in projects
(a) (b) (c) (d)
Original Arch Original Sys Arch adapter forward Empty Sys ori.xmi system adapter Modified Arch Modified Sys Actual Sys forward Arch adapter diff arc.xmi diff Final Arch backward Modified Arch Desired Sys merge diff Original Arch check Final Sys diff Final Arch
Data Business Web Client (a) (b) (c) (d)
Infrastructure arch adapter synchronization engine sys adapter generate input generate architecture meta-model relation definition system state meta-model a model-driven approach architecture access model system state access model specifies specifies specifies specifies architecture style infrastructure structure of managed system state meta layer instance layer conforms to conforms to read manipulate manipulate management agent Managed system state architectural Model architecture access API (XMI files) management API write maintain Causal Connection
architecture meta-model relation definition system state meta-model architecture access model system state access model specifies specifies a model-driven approach specifies specifies auto generate a generate structure architecture style type of system state Runtime architecture infrastructure conforms to conforms to read value of system state management agent manipulate manipulate architectural model architecture access API (XMI files) manage-ment API write maintain Causal Connection
architecture meta-model transfor-mation system state meta-model specifies architecture access model system state access model specifies specifies a model-driven approach auto generates specifies specifies relation a generate structure architecture style type of system state guides Runtime architecture infrastructure conforms to conforms to read system state management agent manipulate manipulate architectural model architecture access API (XMI files) manage-ment API write maintain causal Connection
architecture meta-model transfor-mation system state meta-model specifies architecture access model system state access model specifies specifies a model-driven approach specifies specifies generate relation a general structure architecture style type of system state guides Runtime architecture infrastructure conforms to conforms to read system state management agent manipulate manipulate architecture model architecture access API (XMI files) manage-ment API write maintain causal connection
specify archi-tecture style MOF meta-model Synchronizer generate specify mana-gement API MOF meta-model access model specify relation QVT transformation
specify archi-tecture style architecture meta-model specify mana-gement API system state meta-model access model specify relation QVT transformation Runtime Architecture Infrastructure develop from scratch automatically generate maintain Client Client Client Causal Connection Server
Wi-Fi Bluetooth Ethernet synchronizer Client n=phoner=1 Client n=pda r=2 Client n=tablet r=5 Server r=10 a=Hui
Wi-Fi Bluetooth Ethernet synchronizer Client n=phone Client n=pda Client n=tablet Server a=Hui
1 2 3 4 5 6 7 8 9 10 11 12
architecture meta-model QVT transformation system state meta-model access model 3: specifications 2: generationtoolset generation tool synchronization engine (generic) generation tool generate directly reuse generate 1: generated synchronizer architecture adapter synchronization engine system adapter read /write invoke 0: architecturebased runtime management XMI files Mgmt API
(a) oriArch (b) modArch (c) finalArch (f) curSys (d) oriSys (e) modSys (g) finalSys
Runtime Architecture Architecture Meta-Model GenericSynchronizer QVT Rule Synchronizer Runtime Model System Meta-Model Adapter Generator Adapter Access Model Management API Running System