The Study and Design of Code Generation of Frontend and Backend Based on the User’s Guidance in the Development of Workflow

Author
SongYongChao
Advisor
ChenJunLiang
School
Beijing University of Posts and Telecommunications
Major
Communication and Information System
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2013
Downloads
13
Citations
0

Request the full text

Abstract

Code generation in the development of work flow means the system used to generate the source code of workflow application. By parsing the source code of static web form used for human-computer interaction, according to a certain logic, the system generates the web frontend dynamic form code used for human-computer interaction and the backend server source code used for processing data in the workflow application system.Currently, manual programming is still the software development approach adopted by most programmers. The drawback of such development mode is the slow development speed, high development cost and that the programmers inevitably do much repetitive work. Therefore, some large software projects prolong the development cycles, the development cost of software is beyond the expectation and the software performance is below the level expected. Some software projects even are forced to terminated because so. Therefore, the software developers constantly explore the higher software development method. In such background demand, code generation technology is proposed.The technique of code generation is quite new, it is on the stage of rapid development. The technique of code generation has been used in many system developments. Although code generation technique is flawed in some respects, undoubtedly, it greatly shortens the software development cycle and promotes the development of software industry.This paper analyzes the the current development condition of code generation at home and abroad, and the feasibility of the code generation’s application to the work flow system development, and analyzes the current implementations of code generation from several aspects and then the comparison of a variety of code generation modes is made. The generation mode of this paper is proposed then, the generation mode of this paper is based on the static web form used for human-computer interaction, template engine files and Eclipse plug-in technique.According to the business need, the workflow system developers design the static web form used for human-computer interaction by the web form designer. The designation of the static web form parsing engine is the core of code generation system. The code generation system is added to the Eclipse plug-in which facilitates the workflow developers.Finally, through the practical application of the system, the executing procedure of the workflow code generation system is illustrated. Through the analysis of running result and the system speed, the code generation system is confirm to the expectation and the feasibility of the code generation in workflow system development is verified.

Table of contents

Summary 4-6 ABSTRACT 6-10 first chapter 10-15 1.1 Project Background 10-11 1.2 development home and abroad 11-12 1.3 innovation and research 12-13 1.4 thesis structure 13-14 <br / > 1.5 Summary 14-15 chapter related techniques and principles 15-24 2.1 Struts Spring Hibernate framework 15-17 2.1 .1 Struts framework 15-16 2.1.2 Hibernate framework 16-17 2.1.3 Spring framework 17 2.2 MVC design pattern 17-19 2.3 workflow system 19-23 basic concepts 2.3.1 workflow 20 2.3.2 JBPM workflow management system 20-23 2.4 Summary 23-24 Chapter III automatic code generation technology 24-29 3.1 technical Overview nbsp automatic code generation ; 24-26 3.2 automatic code generation system is mainly related to the technology 26-28 3.2.1 template 26 3.2.2 metadata 26-27 3.2.3 Dom4j technology 27 3.2.4 plug-in technology 27-28 3.3 Summary 28-29 Chapter automatic code generation system analysis and design 29-47 4.1 Requirements Analysis 29-35 4.1.1 object code needs frame 29-30 4.1.2 code generated automatically integrate 30-32 4.1.3 automatic code generation system functional requirements 32-35 4.2 code the system automatically generates a summary of design 35-38 4.2.1 positioning system 35 4.2.2 system functional division 35-37 4.2.3 system workflow 37-38 4.3 automatic code generation system detailed design 38-46 4.3.1 resolves static forms 38-39 4.3.2 Struts controller module generates 39-41 4.3.3 Jsp generation module 41-43 4.3.4 persistence generation module 43-44 4.3.5 to generate the business logic layer module 44-45 4.3.6 generated configuration file module 45-46 4.4 Summary 46 - Chapter 47 automatic generation system to achieve the gold room heating repair management system 47-53 5.1 project basics 47 5.2 project Development create 47-49 5.2.1 process definition files 47-48 5.2.2 visual design human activity task form 48-49 5.3 generation front-end and code-behind file 49-52 5.3.1 generated JSP file 49 5.3.2 generate Hibernate persistence layer code 49-50 5.3.3 Yewuluojiceng generated code 50-51 5.3.4 generate Struts Action file 51 5.3.5 generated XML configuration file 51-52 5.4 summary 52-53 Chapter VI Conclusion and Outlook 53-55 6.1 summarizes the main work 53-54 6.2 job Outlook 54-55 References 55-57 Appendix 1 57-58 Appendix 2 58-59 <br / > Appendix 3 59-61 Appendix 4 61-63 Appendix 5 63-65 Appendix 6 65-68 Thanks published during 68-69 pursue a degree academic 69

Related dissertations

  1. The Design and Implementation of Educational Management Information System Based on J2EE
  2. English Title of Master Thesis the Design and Implementation of Software System for Project Management
  3. The Design and Implementation of Letters and Calls Information System of Dujiangyan Letters and Calls Bureau
  4. The Design and Implementation of a Group Company Office Automation (OA) System
  5. Reseacrh and Application on Algorithm of Association Rules in Commercial Bank Customer Management System
  6. Design and Implementation of Equipment Procurement Management System Based on Workflow
    DaiPengZhen ·Suzhou University ·2012 ·Master's thesis
  7. Design and Implementation of Shaanxi State Tax’s Electronic Operation and Maintenance System Based on ITIL
  8. Research and Implementation on Coal Enterprises Sales Management System Based on JBPM
  9. The Research on PIM with Architecture and Behavior Semantics Modeling Approach
    ZuoPengFei ·Northeast Normal University ·2012 ·Master's thesis
  10. Office Automation System for Software Engineer Training Based on SSI Framework
    SongXiaoJie ·Hebei University of Engineering ·2012 ·Master's thesis
  11. Design and Implementation of OAS in Fujian Star Electronics Manufacturing Co., Ltd.
  12. Design and Implementation of Mobile Urban Management System for Hangzhou Based on J2EE
  13. Design and Implementation of a Supply Chain System for Manufactural Enterprise
    ZhangZhiYou ·Northeastern University ·2011 ·Master's thesis
  14. Improvement Research of the Watts Valve Changsha Company Limited (CWV)’s R&D Organizations
    NieXiaoChun ·Hunan University ·2014 ·Master's thesis
  15. Design and Implementation of ETL Oriented on Big Data
  16. Design and Implementation of Heating Meter Reading Information System Basing on GPRS
  17. The Design and Implementation of Statistical Data Collection and Process System of Dujiangyan Statistical Bureau
  18. Research on Hybrid Particle Swarm Algorithm and Applied in Cloud Computing Task Scheduling
  19. A Design and Development of Operation and Maintenance System for Zhejiang Social Security Center
    HeMingTao ·Zhejiang University of Technology ·2013 ·Master's thesis
  20. Mdeling,Service Planning and Service Composition in Knowledge-intensive Collaborative Workflows
    GaoMing ·Dongbei University of Finance ·2013 ·Doctoral dissertation