Generation engine design and realization of the universal code based on the open-source framework
- Author
- HuangQin
- Advisor
- Zuo
- School
- University of Electronic Science and Technology
- Major
- Applied Computer Technology
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2007
- Downloads
- 156
- Citations
- 0
Abstract
With the construction industry information rapidly, and want to be able to quickly build information systems for their own business needs. J2EE mature as a new distributed computing technology, has been widely used in many fields, its scalability, scalable framework for flexible system for the application of the system selection and implementation; especially its layers of clear structure and cross-platform properties, making it a popular and respected in the field of information construction. Information system development is not only to solve the technical problems, but also need to face the complex business needs, and this situation has a great impact on the success rate of the application system. How to help developers freed from tedious technical details of the encoding to reduce the workload of the development, the main focus for the focus on business issues and improve development efficiency and quality, is the focus of this article. The goal of this paper is to achieve rapid conversion of the code to the application project J2EE applications based on relational database design results. The author has been involved in a number of applications based on J2EE technology platform project development, summed Such systems architecture design to achieve commonality details, combined with the characteristics of the mainstream open-source framework for software designed and implemented based on the rapid development of application systems code generation engine. Code generation engine curing the application system architecture design and coding details, freed developers from tedious technical details, and the open source software through a reliable and fully tested, so the development of the project cost, development cycle and risk get better control. XML modeling and code generation of two parts, the system requirements model and design details of the code generation engine performance as an XML file, to generate business layer code (CRUD ACTION, VALIDATION, CONVERSION, INTERNATIONALIZE etc.) through the engine to parse XML files, the model layer code (JAVABEAN, DAO, OR-MAPPING) and the presentation layer code. Of the engine ant tool implementation, the generated code format is structured annotation associated support multi-table. Meanwhile, the engine is a the independent auxiliary development tools, any expansion of its improvement is simple and convenient. The conceptual design of the subject and the eventual realization by the author independently. This paper first introduces the knowledge system involved in this topic, followed by elaborate the XML requirements modeling system and the code generation engine design, implementation, and application.
Table of contents
Summary 4-5
ABSTRACT 5-11
first chapter 11-15
1.1 Background 11-12 < br /> 1.2 research status 12-13
1.3 related research 13-14
1.4 papers structural organization 14-15
first the two MVC design pattern with WEBWORK 15-27
2.1 MVC design pattern 15-18
2.1.1 MVC design pattern outlined 15-16 <br / > 2.1.2 MVC model structure 16-17
2.1.3 MVC mode advantages 17-18
2.2 open source framework Webwork 18-26 <br / the> 2.2.1 Webwork About the 18-19
2.2.2 Webwork core, technology the 19-25
2.2.2.1 ServletDispatcher, the principle 19-21
2.2.2.2 Action 21-24
2.2.2.3 expression language EL and OGNL 24
2.2.2.4 interceptor and its principle 24-25
2.2.3 Webwork advantage 25-26
2.3 Chapter Summary 26-27
Chapter the persistent layer design with HIBERNATE framework 27 - 42
3.1 persistence layer Overview 27-28
3.2 data persistence layer design 28-33
3.2.1 key enabling technologies DAO mode 28 - 30
3.2.2 enhance the performance of the cache and connection pool technology 30
3.2.3 Persistence Layer type 30-33
3.3 persistence layer framework outlined 33-35
3.4 Hibernate architecture the 35-36
3.5 Hibernate major class 36-38
3.6 Hibernate O / R mapping 38-41
3.7 HQL query language 41
3.8 Chapter Summary 41-42
Chapter based on the XML SCHEMA demand modeling 42 - 51
4.1 XML Schema Introduction 43
4.2 XML Schema three-tier model 43-49
4.2.1 XML Schema concept layer model 44 - 45
4.2.2 XML Schema logic layer model 45-46
4.2.3 an XML Schema implementation layer model 46-49
4.2.3.1 Class attribute mapping 46-47
4.2.3.2 association mapping method 47
the 4.2.3.3 user-defined data types mapping method 47-48
4.2.3.4 generalization of the method of mapping 48
4.2.3.5 enumerated type mapping method 48-49
4.3 XML schema modular reuse 49-50
4.4 Chapter Summary 50-51
Chapter the requirements modeling system with code generation engine design 51-82
5.1 software projects requirements engineering the 51-52
5.2 object-oriented development methodology 52-54
5.3 the XML requirements modeling system design 54-69
5.3 .1 Overview 55-56
the 5.3.2 tag elements (Element) design 56-62
5.3.3 demand modeling 62-69 <br / > 5.4 code generation engine 69-79
5.4.1 Systems Analysis 5.4.2 system use cases are found in 70-72
; 72-74
5.4. 3 system processes 74
5.4.4 system architecture design the 74-76
5.4.5 code template scheme 76-78
5.4.6 system achieve 78-79
5.5 code generation engine in the customer relationship management system 79-81
5.6 Chapter Summary 81-82
sixth Chapter conclusions 82-83
thank the 83-84
Reference 84-86
Appendix A XML sample requirements modeling (CUSTOMER.CGE the. XML clips) 86-92 the
Appendix B data model generalization relationship example 92-95
learning during research and published papers 95-96
Related dissertations
- Counties’ Real-time Reporting Systems for Major Events and Decision
- Design and Implementation of Enterprise Multi-Site Content Management System Based on XML
- The Design and Implement of the Declaration and Approval of the E-government System
- The Design and Implementation of the Electronic Invoice Matching and Presentment System
- Automotive Marketing and After-sales Service System Based on J2EE and XML Technology
- Design and Implementation of a Supply Chain System for Manufactural Enterprise
- Design and Implementation of Dynamic Monitoring System for Budget Enforcement Based on J2EE
- Integrated ERP Credit Control System
- The Design and Implement of Video Sharing Website Based on Face Tracking
- The Design and Implementation of the Campus Network Management System of Transport Management Institute Ministry
- A Design and Development of Operation and Maintenance System for Zhejiang Social Security Center
- Design and Implementation of Huafeng Company Integrated Office System
- Design and Implementation of a Enterprise Search Platform
- Design and Implementation of the XProc Processor Based on.NET
- Design and Implementation of the XML Document Processing System Based on Xproc
- Research of Web Information Extraction Based on XML
- Research of Information Extraction from Web Documents Based on Tree Automaton
- Research and Application of Information Retrieval Based on XML Document
- Research of Keyword Query Processing on XML Data
- Research on Subtree Results Generation of XML Keyword Search