Font Size: a A A

Design And Implementation Of Code Generation Tool Based On FreeMarker

Posted on:2016-01-15Degree:MasterType:Thesis
Country:ChinaCandidate:J SunFull Text:PDF
GTID:2308330479991517Subject:Software engineering
Abstract/Summary:PDF Full Text Request
The rapid development of the software technology brings much more functions for software and expands the scope of application, but it also makes programming more difficult. In order to improve the efficiency and shorten the time cycle of software development, the development model and design pattern have changed a lot. How to reduce the amount of work becomes a concerned problem for software professionals. The construction of government innformationization brings much more needs of Web Information Management System. Although there are differences on the functional requirements of these systems for different customers, the main features can still be classified as data manipulation by adding, deleting, modifying and searching and these systems mainly differ in the interface styles and processing procedure.With the popularity of J2 EE technology, more and more companies begin to use web framework. Using a basic application framework and a related code generation tool to build up systems can effectively speed up the development progress.In this project, I detaily analyze the same parts of government information management systems in functionality and page layout and then abstract out a data processing model and templete files. This code generation tool can transfer system modules from the structure of tables in different databases and generate HTML files and J2 EE code files based on datas and template files. HTML files can be used as a prototype to identify business functions. J2 EE code files can be run up as a system by providing basic data manipulation functions. In order to make it easy for using and improve generation efficiency, the tool can recommend the configurations by rules transferred from decision tables or by learning from other users’ configurations.Based on the research related to code generation technology, this project uses FreeMarker template engine to generate code, while taking advantage of the rules engine and text classification technology to enhance the usability and scalability.
Keywords/Search Tags:code generation, FreeMarker, rules engine, text classification
PDF Full Text Request
Related items