Research on the Development of Data Driven Application and Design of the Automatic Code Generating Tools

Author
ZhangMin
Advisor
YinJunWen
School
National University of Defense Science and Technology
Major
Software Engineering
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2005
Downloads
88
Citations
2

Request the full text

Abstract

Software reuse is the research hotsports in computer science. Object-oriented design pattern is a new emerging disciple in software engineering. Design pattern is widely used in software development in industry.It brings the opportunity for raising the efficiency of the software development and lowering the cost of the software development. Currently, software reuse based on design pattern become the newest research hotsports in computer science. The research and design of tool CodeGenerator in this paper is exactly based on design pattern.In this paper, we first carry on the very clear analysis to the classic design pattern in J2EE. Secondly, we carry on the thorough research on how to solve the mapping between Object-oriented and RDBMS. Then we realize a 0/R mapping delegate level for tool CodeGenerator to get metadata. Thirdly, we define a new template description language based on the extensible marked language. The new language is named myTDL. At last, we present an architecture of tool CodeGenerator and complete the function that create code for the Digital Campus Project. During the design of the tool CodeGenerator, author use a lot of pivotal techniques, such as O/R mapping、XML、dynamic template and etc. These techniques provid a good foundation for tool CodeGenerator to expand its function in future.The implementation of tool CodeGenerator is still in entry-level stage and the tool CodeGenerator cannot attain the complete intelligence and automation, but it carry on the very meaningful trial in the development of the plugin to JBuilder. Tool CodeGenerator has already used in the Digital Campus Project and it provide the great help for the Digital Campus Project.

Table of contents

Directory 4-7 Chart directory 7-9 Summary 9-10 the ABSTRACT 10-11 first a chapter 11-16 § 1.1 topic Background 1.1.1 Theoretical background 11-12 11 1.1.2 Project Background the <br 11-12 /> § 1.2 present and future 12-13 § 1.3 research of the content and results 13-15 1.3.1 Research 13-14 1.3.2 research 14-15 § 1.4 The paper is organized as 15-16 Chapter II data-driven J2EE applications The general architecture of its pattern features 16-37 § 2.1 architecture and design patterns 16-17 2.1.1 design patterns in architecture 16 2.1.2 architecture design mode select 16-17 the § the 2.2 MIS system architecture design 17-25 2.2.1 layer design 18-20 the 2.2.2 business layer design 20-22 the 2.2.3 data layer design 22-24 2.2.4 System framework class diagram 24-25 § 2.3 MIS system design pattern analysis 25-35 In 2.3.1 design mode dynamic classification 25-26 2.3.2 Value Object Mode 26-28 2.3.3 Data Access Object mode 28-31 2.3.4 Session Facade mode 31-33 2.3.5 Command mode 33-34 the 2.3.6 design patterns 34-35 § 2.4 data-driven application system structure mode are 35-36 the § 2.5 summary the 36-37 the third chapter data-driven J2EE application system structure of the automated code generation tools 37-46 § 3.1 automated code generation techniques Introduction 37-38 the the 3.1.1 automate code generation technical factors 37 3.1.2 automated code generation system first model 37-38 to § 3.2 tools CODEGENERATOR's demand analysis 38-41 3.2.1 System Requirements 38-39 3.2.2 to determine the system problem domain 39-40 3.2.3 system options strategy 40-41 3.2.4 system difficulties faced 41 § 3.3 tools CODEGENERATOR A summary of design 41-45 3.3.1 system to achieve the program's design the 41-42 System 3.3.2 The Structural Design 42-43 3.3.3 features 43-44 3.3.4 Operating sequence Introduction 44-45 § 3.4 Summary 45-46 fourth chapter is based on the realization of the object-relational mapping agent 46-58 § 4.1 object-oriented model and relational model 46-47 4.1.1 for the contradiction between the object model and relational model 46 4.1.2 object relationship mapping of the significance 46-47 § 4.2 object-to-relational mapping 47-49 4.2.1 mapping ideas 47 4.2.2 mapping rules 47-49 § 4.3 related to the object mapping 49-51 4.3.1 Mapping ideas 49-50 4.3.2 mapping rules 50-51 § 4.4 OR mapping program design 51-57 4.4.1 OR mapping program model 51-52 4.4.2 O / R agent layer design 52-53 4.4.3 O / R agent layer overall class design 53-56 4.4.4 O / R agent layer foundation working example 56-57 § 4.5 Summary 57-58 template-based code generate technology nbsp 58-67 § 5.1 template technical brief; 58-59 5.1.1 Template concept 58 5.1.2 template code generation application 58 5.1.3 template design principles 58-59 § 5.2 template description language design 59-62 5.2. 1 design choices 59-60 5.2.2 MyTDL design Introduction 60 the 5.2.3 MyTDL grammar description 60-62 § 5.3 template the parser design of 62-64 5.3.1 MyTDL template parser model 62 the 5.3.2 TDLtoJAVA the converter 62-63 5.3. 3 MyTDL compiler 63-64 § 5.4 template design example the simple HelloWorld template 64-65 5.4.1 Design 64 5.4. 2 simplest the Value Object Template Design 64-65 § 5.5 Template Manager 65-66 5.5.1 Template Library structure design 65 5.5 .2 management features designed 65-66 § 5.6 Summary 66-67 the sixth tool CodeGenerator implementation and application 67-84 the § 6.1 tools CODEGENERATOR, design 67-76 6.1.1 integrated environment design 67-69 6.1.2 user interface design 69-70 6.1.3 Defining books related objects design 70-73 6.1.4 template select the relevant class design 73-74 6.1.5 design pattern library design 74-75 the 6.1.6 source document processor design 75 6.1.7 text editor designed 75-76 to § the 6.2 tools CODEGENERATOR the application nbsp 79-80; 76-83 6.2.1 running results 76-79 6.2.2 main work sequence 6.2.3 system testing and evaluation 80-83 § 6.3 Summary 83-84 the seventh chapter papers Summary and Outlook 84-86 § 7.1 This article summarize 84 § 7.2 Future Prospects 84-85 § 7.3 Summary 85-86 Acknowledgements 86-87 <br / > Appendix: of master's thesis published during 87-88 Reference 88-90

Related dissertations

  1. J2EE platform - based code generator
    WangJiRui ·Shandong University ·2006 ·Master's thesis
  2. A Mobile-platform Based Cloud Web Structure Transform
  3. Study on the Network Flow Statistics System Based on NETSTREAM
  4. Research on Resource Virtualization in Cloud Manufacturing
    HuZhiNan ·Huaqiao University ·2013 ·Master's thesis
  5. Research on the Automatic Generation of Customer Reviews Report Facing Network
    ShiYingChao ·Northeastern University ·2011 ·Master's thesis
  6. Implementation of Visualization System on Uncertain Functions
  7. Research on SAP ERP Template Development and Implementation
  8. The Design and Implmentation of Electric Marketing Company Operation System Based on Swing Technology
    YuanHai ·Shandong University ·2013 ·Master's thesis
  9. Design and Implementation of Software for Children’s Elementary Painting Education Based on iOS
  10. Design and Implementation of Grain Purchase and Sale Management Information System Based on Web Framework
    SunZhong ·Hunan University ·2014 ·Master's thesis
  11. Research on Network System of Information Distribution and Relative Technology Based on Discrete State Predictor
  12. Design of Visual Force
  13. Studies on the Preparation of ZnMn2O4and Its Electrochemical Performance
  14. Research and Setting Software Development of Generator-Transformer Group Protection Relays
  15. Electricity Transaction Information Platform Design and Implementation
  16. Research on Software Technology in HVDC Transmission Design Software Package
    LiZhiPeng ·Zhejiang University ·2014 ·Master's thesis
  17. Study on the Design Patterns of Park Tourist Centre in Guangdong Region
    WangJunJun ·Guangzhou University ·2013 ·Master's thesis
  18. 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
  19. Design and Implementation of an ATM Bureau of Communication Navigation Surveillance System
  20. Research on Personalized Print Design Platform Based B/S Mode
    LiShengHui ·Nanjing Forestry University ·2013 ·Master's thesis