Font Size: a A A

Research And Implementation Of J2EE Web Application Code Automatic Generation System Based On UML Model

Posted on:2016-04-21Degree:MasterType:Thesis
Country:ChinaCandidate:M C ZhengFull Text:PDF
GTID:2308330473957802Subject:Computer software and theory
Abstract/Summary:PDF Full Text Request
With the rapid development of a wide range of computer applications and Web technologies enable people to enter the age of the Internet, provides great convenience for people’s production and life. Meanwhile, the widely used J2EE Web technologies, and promote the advancement of Internet technology. People in the enjoyment of the Web application to bring good experience for Web applications require higher and higher, allowing Web application logic more complex, more and more large-scale code. With the increase of code complexity, software coding error rate is also increasing.Currently, most software developers are still stuck in manual coding phase, developers spend a lot of time to write some simple code. Because J2EE Web applications related to computer technology is no longer a single programming language, but rather a collection of several coding techniques, carrying out technical integration process, often uncontrollable errors. For these reasons increases the risk of J2EE Web project development, therefore, in order to improve the efficiency of software development, the development of automatic code generator is imperative.We have found through previous theoretical studies that there are some problem such as "automatic generation", "Operation Visualization", "multi-table association", "automatic deployment" remain unresolved. Firstly, through the research MDA theory, combined with the popular MVC design pattern, relying JsUml2, FreeMarker, Hibernate, Ant technology, by combining theory and practice, designed and implemented based on UML data modeling, HTML5 visual controls, the template file definitions and template engine J2EE Web combines automatic code generation system. The specific research is as follows:First of all, according to MDA Model Driven Architecture thoughts on each part of the automatic code generation system design. Generation system by UML design, business model, template management, template engine and automatic deployment of five parts, each module in-depth analysis, and then the specific functions of each module are designed.Secondly, for each model generation system for detailed coding implementation of this system is the use of an innovative point B/S technical architecture, the introduction of cloud modeling technology allows modelers to collaborate on the establishment of the system model, using the framework as a mature SpringMVC basic support systems, to ensure system stability. Another innovation is the proposed mechanism for a business model based on UML modeling and database technology, and adds support for multi-table associated processing, the UML model to the automatic conversion of the business model, while achieving the detailed design of the database.Finally, the system described in the business park management application code generation workflow entire automatic code generation system, which mainly practiced build UML models, conversion business model, template creation and code generation capabilities, validated Based on UML Visualization automatic code generation model technical feasibility.
Keywords/Search Tags:Automatic code generation, UML, Visualization, Customizable templates, Metadata
PDF Full Text Request
Related items