Font Size: a A A

Automatic Codes Generation Of The J2EE Web Applications Based On Selected Run-Time Framework

Posted on:2006-10-22Degree:MasterType:Thesis
Country:ChinaCandidate:L DuanFull Text:PDF
GTID:2168360155966826Subject:Computer software and theory
Abstract/Summary:PDF Full Text Request
In recent years, how to get the web applications developed rapidly and effectively became one of the hottest points in IT industry. It was Web Engineering who offered the answers to this question from the viewpoint of both problem space and solution space. In problem space, people invented some kinds of methodologies for the development of web applications. These methodologies got success in a measure due to the integration of the web's navigational feature and Software Engineering. In solution space, design patterns and frameworks attracted more and more attention. With the maturation of the MVC structure framework, people have made great breakthrough in the development of web applications. In addition, MDA gave theoretical support to the mapping from problem space to solution space, which made automatic codes generation of web applications come true.Because of the technology restriction, the realization of the real meaning of executable model is still a dream. The codes generated by most web application generator either bind with some specific framework tightly or are based on J2EE API directly, which leads the developer to a mess in understanding, revising and maintaining these programs. So it is necessary for a codes generator to allow the users to select a right framework in the development of a web application based on the user's knowledge and the requirement of the project.To these problems, this paper presents a solution that supports the automatic codes generation of the J2EE Web Applications based on selected framework. The concern of the generator development is focused on a system family rather than a single system asthe traditional OO approach does. More exactly, this paper introduces a generator framework rather than a mere generator. It is easily to extend the framework to get a proper generator according to the information of a web application framework without the efficiency loss.This paper summarizes the analyzing, design and implementation method of web application from the point of view of problem space and solution space firstly. Then the argument for codes generation of web applications based on selected framework is brought forward, with the theoretical support introduction on the basis of the discussion about the necessity of automatic model mapping, MDA and MOF theory, and the problems in the existed generators.The deepest concern in this paper is the focused on the design and implementation of the codes generator using Generative Programming techniques. Besides the whole architecture and the workflow of the generator framework, this paper presents the framework generation model and JSP view generation model.Component-Oriented Template-Based Programming techniques is the basis of the development of the generator. So there are some discussions about the instantiation of static configuration with C++ Template. This paper also introduces the static parameterization implementation of the Bridge, Strategy, Adaptor and Decorator design patterns equivalent to those using dynamic polymorphism.
Keywords/Search Tags:Automatic Codes Generation, Web Application Framework, Codes Generator Framework, Automatic Web Applications Generation Based on Selected Run-Time Framework
PDF Full Text Request
Related items