Font Size: a A A

Based On Open-source Framework For Common Code Generation Engine Design And Realization

Posted on:2008-07-30Degree:MasterType:Thesis
Country:ChinaCandidate:Q HuangFull Text:PDF
GTID:2208360212499777Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
Following the trend of the information age, most companies expect to build their own systems which are adapted to their business requirements. As a new form of mature distributed computing technology, J2EE is widely applied in many fields. Its flexible and extensible framework brings application systems more options and implantation methods and its architecture clarity and portability across different platforms make it the most preferred and favored in the informationalizaion areas. When creating an information system, developers not only face technological issues and problems but also have to deal with complicated business needs. This brings much trouble to the development process and reduces the system success rate. The present paper centers on discussion of a methodology that can relieve developers of tedious coding and technical details and make them focus on business issues and how to improve developing efficiency and quality.The target of the present research is to realize a system that can quickly transfer the design of J2EE applications that are based on relational databases into actual codes. The author has attended many J2EE based application projects and thus acquired a particular perspective on the similarity and uniformity of application projects. Combined with the open source framework, the author designs a new developing method, which consists of two parts: the XML requirement system and the Code Generation Engine. Through parsing the XML requirement model files, the Code Generation Engine builds all the files the new project needs, including most java classes on business layer (such as CRUD ACTION, VALIDATION, CONVERSION, INTERNATIONALIZE files), the model layer (such as DAO, JAVABEAN, OR-MAPPING files) and even the view layer. This engine is executed with ANT, and the codes built by the engine are neat and well commented. The engine is a self-governed tool and easy to be improved.The Code Generation Engine is developed by the author independently. This thesis describes the related knowledge system at first and then discusses the XML requirement model system, the design, implementation and application of the Code Generation Engine in detail.
Keywords/Search Tags:Code Generation Engine, J2EE, open source framework, XML
PDF Full Text Request
Related items