Research and Application of Code Generatiion Based on Model Driven Architecture

Author
FengYingYing
Advisor
WuBo
School
Xi'an University of Electronic Science and Technology
Major
Computer Software and Theory
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2011
Downloads
47
Citations
0

Request the full text

Abstract

When developing the Web-based enterprise application systems, since differentmodules usually are similar, abundant repetitive work is required and copy and paste arethe main software reuse forms, which may result in many issues, such as error-proneproblems and difficulty in maintenance. Given this situation, the thesis designs a codegenerator that can generate source code automatically by the program according to thefeature of the application business.Based on the methodology of Model Driven Architecture and taking the postalWeb access system social agency’s front-end business as the study goal, the thesis firstlyanalyzes the features of the application framework, and thus the object code to begenerated by the code generator is identified. Secondly, setting out from the PlatformIndependent Model, XML technology and FreeMarker template technology is utilized,the data model, the template files and the code generation engine of the code generatorare designed, and thus automatic code generation for the front-end business can beimplemented.The code generator has been used in the development of new business in the postalWeb access system social agency. The practical application shows that the developmentefficiency is improved by the proposed code generator, and the system’s expandabilityand maintainability is improved as well.

Table of contents

Summary 3-4 Abstract 4-7 first chapter 7-11 1.1 Paper background and significance 7 - 8 1.2 research status 8-9 1.3 content of this paper 9-10 1.4 chapters arranged 10-11 the second chapter of MDA -based automatic code generation technology 11-17 2.1 model-driven development ideas 11-12 2.2 automatic code generation technology 12-15 2.2.1 automatic code generation principle 13 2.2.2 automatic code generation approach 13-14 2.2.3 code generator design principles 14 -15 2.3 Summary target applications 15-17 Chapter III code generator 17-29 3.1 target application background 17 -21 3.2 target application architecture 21-27 3.2.1 the overall structure of the target application 21-23 3.2.2 target application process 23-24 3.2.3 target applications detailed analysis 24-27 3.3 object code file 27-28 3.4 Summary 28-29 Chapter IV code generator design 29-43 4.1 code generator overall design 29-30 4.2 data model design 30 - 35 4.2.1 platform-independent model 30-33 4.2.2 platform model 33-35 4.3 template document design 35-39 4.3.1 template file design ideas 36-37 4.3.2 template document preparation 37-39 4.4 code generation engine design 39 - 42 4.5 Summary 42-43 Chapter V code generator to achieve 43-55 5.1 project file 43-46 <br / > 5.1.1 naming 43-44 5.1.2 file structure 44-46 5.2 code generation 46-50 5.2. a data model to store 46-48 5.2.2 data model Analysis 48-49 5.2.3 template matching to generate code 49-50 5.3 code testing 50-52 5.3.1 project file deployment 50-51 5.3.2 functional Test 51-52 5.4 analysis 52 5.5 Summary 52-55 Chapter VI Conclusion 55-57 6.1 This work 55 6.2 problems 55-57 Thanks 57-59 References 59-61 Appendix A 61-63 <br / > Appendix B 63-65

Related dissertations

  1. J2EE platform - based MDA model transformation
    LiuYang ·Qufu Normal University ·2007 ·Master's thesis
  2. Research on Specialized Rule Engine Component Based on MDA
  3. A Mobile-platform Based Cloud Web Structure Transform
  4. Study on the Network Flow Statistics System Based on NETSTREAM
  5. Research on Resource Virtualization in Cloud Manufacturing
    HuZhiNan ·Huaqiao University ·2013 ·Master's thesis
  6. Research on the Automatic Generation of Customer Reviews Report Facing Network
    ShiYingChao ·Northeastern University ·2011 ·Master's thesis
  7. Research on SAP ERP Template Development and Implementation
  8. Design and Implementation of a Server-side mashup Framework
    LiSaiNan ·Huaqiao University ·2013 ·Master's thesis
  9. Design and Implementation of Enterprise Information System Integrated Supervision Platform
    WangWeiQing ·Xiamen University ·2014 ·Master's thesis
  10. Studies on the Preparation of ZnMn2O4and Its Electrochemical Performance
  11. Research and Setting Software Development of Generator-Transformer Group Protection Relays
  12. The Research on the Model and Algorithm of High-speed Railway Train Scheduling Based on the Periodic Event System
    QinSheng ·Beijing Jiaotong University ·2013 ·Doctoral dissertation
  13. Research on Personalized Print Design Platform Based B/S Mode
    LiShengHui ·Nanjing Forestry University ·2013 ·Master's thesis
  14. 2J85Material Superhydrophobic Surface Preparation Process Research
    ZhaoMin ·Harbin Institute of Technology ·2012 ·Master's thesis
  15. Spherical TiO2Photocatalysts Prepared via Template Method
    WangDianPing ·Northeast Forestry University ·2013 ·Master's thesis
  16. Design and Preparation of Mesoporous Hydroxyapatite Nanoparticles and Preliminary Study of the Synthesis Mechanism
  17. Preparation of Hollow Aluminum Phosphate and Hollow Iron Phosphate Spheres
    ZhouBin ·Guangxi University ·2013 ·Master's thesis
  18. Preparation of Reticu Vitreous Carbon and the Analysis of Crack Formation Mechanism
    HaoDongDong ·Harbin Institute of Technology ·2012 ·Master's thesis
  19. A Study on Synthesis, Structures and Properties of Transition Metal-5-sulfoisophthalate Complexes
    ZhuRuiMin ·Huaqiao University ·2013 ·Master's thesis
  20. Study on Preparation and Properties of Polypyrrole Nanosphere and Polypyrrole/Polymers Conductive Composite
    ZhengRuoShi ·Tsinghua University ·2012 ·Master's thesis