The Research on Spring-specific Model Transformation Approach in MDA
- Author
- YaoYi
- Advisor
- ZhouDongZuo
- School
- Northeast Normal University
- Major
- Computer Software and Theory
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 106
- Citations
- 6
Abstract
Model Driven Architecture (MDA) is an organization and management framework for models in the software development process, which is provided by object management group (OMG). System analysis, design and implementation based on MDA are completed through defining models at different abstract levels and driving the transformation among models. Generally MDA divides a software system into the Platform Independent Model (PIM) and the Platform Specific Model (PSM). MDA not only can effectively improve software productivity, enhance system portability, reduce maintenance costs of documents and solve the problem of interoperability among different softwares, but also make application models and domain models can be reused in the entire software life cycle.Model transformation, especially the transformation from PIM to PSM, is the key of MDA-based software development. It is still not standardized. Nowadays, there are many model transformation approaches and tools, such as the transformation using patterns and markings, the transformation based on graphics and so on. However it still lack of effective supports for Spring framework which is widely used in industry. AndroMDA has supported the automatic generation of Spring configuration files from the class diagrams, but it has not researched the Spring AOP which is a core part of Spring framework and can’t support the modeling of PIM. At the same time, Spring-based web applications with the traditional software development method can not guarantee the consistency among analysis model, design model and the code. Besides due to the lack of modeling language which is used to describe the basic features of Spring framework, it is very difficult to carry out the Spring-oriented system modeling.This paper presents a Spring-specific model transformation approach in MDA. It uses the domain class diagrams of business systems as a starting point, introduces the web application hierarchy model to refine PIM, constructs a suitable UML profile for Spring framework and establishes the transform rules to complete the transform from refined PIM to Spring framework specific model. Then it implements the automatic generation of Spring configuration files from Spring framework specific model through extending the model transformation framework provided by RSA. To this end, a case study is also provided to show the advantage of the method proposed.Compared with the related work at home and abroad, the main contributions of this paper are as follows:⑴propose a new idea of adding the information about abstract architecture of application systems into the PIM and introduce the web application hierarchy model to refine the PIM.⑵construct a UML profile for Spring framework which can comprehensively describe the basic features of Spring framework, and make it possible to carry out the Spring-oriented system modeling.⑶design and implement a model transformation plug-in named UML to XML so as to complete the automatic generation of Spring configuration files from Spring framework specific model.
Table of contents
Summary 4-5
Abstract 5-9
Chapter 1 Introduction 9-13
1.1 Background 9-10 < br /> 1.2 Research and topics in accordance with the status quo 10-12
1.3 The main work 12
1.4 thesis structure 12-13
Article Chapter II MDA related theory and technology 13-27
2.1 MDA Overview 13-14
basic terminology 2.2 MDA 's 14-15
2.3 MDA core support standard 15-20
2.3.1 Meta Object Facility (MOF) 15-17
2.3.2 unified Modeling Language (UML) 17 - 19
2.3.3 XMI metadata Interchange (XMI) 19-20
2.3.4 common Warehouse Metamodel (CWM) 20
2.4 MDA development process 20-22
2.5 MDA model transformation 22
2.6 PIM to PSM model transformation method of 22-25
2.6.1 manual conversion method 22-23
2.6.2 model Transformation pattern and marker -based methods 23-24
2.6.3 automatic conversion method 24
2.6.4 based on UML Profile model conversion method 24-25
2.7 RSA in the model conversion mechanism 25-26
2.8 Summary 26-27
Chapter III Spring application development framework 27-36
3.1 Spring framework Overview composed 27
3.2 Spring framework 27-29
3.3 Spring IoC 29-31
3.3.1 IoC patterns 29-30
3.3.2 IoC type 30
3.3.3 Spring IoC container 30-31
3.4 Spring AOP 31-34
3.4.1 AOP concepts 31-33
3.4.2 Spring AOP 33 - 34
3.5 Spring in Web development 34-35
3.6 Summary 35-36
Chapter IV model conversion method for the Spring framework 36-46
4.1 model for the Spring framework conversion methods 36-37
4.2 refinement of Web applications PIM 37-39
4.2.1 Web UML Profile nbsp application hierarchy ; 37-39
4.2.2 refined PIM 39
4.3 PIM to PSM transformation 39-45
4.3 metamodel .1 Spring framework 39-42
4.3.2 Spring framework UML Profile 42-43
4.3.3 PIM to PSM Spring framework related to the conversion 43-45
4.4 Summary 45-46
Chapter PSM to generate configuration files 46-53
5.1 PSM to convert configuration files rules 46-48
5.2 PSM to generate configuration files 48-52
5.2.1 UML to XML conversion model outlined 49-50
5.2.2 UML to XML core part of the realization 50-52
5.3 Summary 52-53
Chapter VI case Studies - student achievement management system 53 - 63
6.1 tools introduced 53
6.2 system Overview 53-55
6.3 build system PIM 55
6.4 refinement system PIM 55-56
6.5 PIM to PSM system conversion 56-59
6.5.1 PIM to Java code generation 57-58
Spring framework 6.5.2 for PSM 58-59
6.6 PSM to generate the system configuration files 59-62
6.7 analysis and summary 62-63 < br /> Chapter VII summary and Outlook 63-65
7.1 Full Summary 63-64
7.2 further work 64-65
References 65-67
Appendix 67-71
Thanks 71
Related dissertations
- A Study on Model Transformation Based on MDA
- Research on Transformation Rule Modeling and Rule Code Generation
- Research on MDA-supported Design Pattern Modeling and Model Transformation
- Research on Model Driven Architecture Based Model Transformation Technologies in Software Engineering
- Modeling and Analyzing Trustworthy Embedded Softwares in Model Driven Architecture
- Research on Key Technologies of Computational Independent Model Driven Reconfiguration of ERP System
- The Analysis and Design of Rural Social Endowment Insurance System Based on MDA
- Business Domain-oriented Model Driven Architecture Expansion and Application
- Study and Implementation of Agricultural Test and Safety Platform Based on MDA
- The Analysis and Design of a Hospital Management System Based on MDA
- Research and Application on the Software Development Method Based on MDA
- Web services development based on model-driven architecture and integration research
- Research of Transformation from PIM to PSM Based on Metamodel
- Model Driven Architecture Research
- A Pattern Based Model Tansformations
- Research on a Method of Developing University Cadre Management Information System Based on Model Driven Architecture
- Study of the XML-Based Tranformation Technology of PIM to PSM in MDA
- A Study on a Method of Transformation from PIM to PSM Using Patterns
- Research on Model Transformation and Its Application Based on Model Driven Architecture Framework
- Research and Application of Model Transformation Technology Based on MDA