Font Size: a A A

A Model-Driven Architecture Approach For Developing Web Application With Struts2

Posted on:2010-01-31Degree:MasterType:Thesis
Country:ChinaCandidate:H M ZhangFull Text:PDF
GTID:2178360275489714Subject:Computer software and theory
Abstract/Summary:PDF Full Text Request
At present,developing web applications based frameworks(i.e.Struts) exist many problems,such as it lacks of effective analysis and design environment,the reuse-rate of models is low,and it's hard to keep consistency among models and among models and codes, these problems restrict the improvement of efficiency and quality of developing applications. Model-driven architecture is proposed by OMG in 2001,it defines two models called PIM and PSM.The PIM(platform independent model) describes the system,but does not show details of its use of its platform.The PSM(platform specific model) produced by the transformation is a model of the same system specified by the PIM,it also specifies how that system makes use of the chosen platform.The last,to a certain extent,automatically converted into code.Software development using the MDA approach,the PIM system can be reused many times,and can effectively maintain the consistency between models.It also can increase the degree of automation of system development.Therefore,MDA proposes an effective approach for solving problems which exist in developing web applications based Struts2 frameworkThis paper summarizes and analyzes the core technology and application situations of Struts2 framework,combines MDA as well as its development process,presents a Model-Driven Architecture Approach for Developing Web Application with Struts2.The method,which includes modeling PIM by robustness analysis,transforming PIM to PSM based on a proposed UML profile for Struts2 and generating codes from PSM,covers the major process of developing web applications with Struts2 framework.The advantage of this method that combines MDA with Struts2 to facilitate the development of web application also is shown by the case study.Compared to related work at home and abroad,the method proposed in this paper not only can solve the existing problems in the process of web application development based Struts2 framework,but also applicable to other application development framework which achieves the MV'C pattern.It can effectively improve the efficiency and quality of web application development.
Keywords/Search Tags:MDA, Model Driven Development, Model transformation, Struts2, UML Profile
PDF Full Text Request
Related items