Font Size: a A A

Research And Realization Of Struts Architecture Based On MVC Model

Posted on:2007-04-24Degree:MasterType:Thesis
Country:ChinaCandidate:Q XuFull Text:PDF
GTID:2178360182480885Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
With the extensive application of Internet and Web technology, multi-layer Web structure based on B/S grows up gradually and become ripe.J2EE technology specification of Sun Microsystem corp. supplies a way to design, develop, assemble and deploy applications based on component technology.J2EE platform is based on a multi-layer distributing application pattern. The appearance of MVC design pattern makes the levels among Model, Controller and View clearly, the every module is unattached, improves agility and the value of reuse. Struts is the application framework which based on J2EE platform and MVC design pattern. It eases the burden of constructing mufti-layer Web applications and provides reusable software architecture. In Struts, View is made up of JSP and Custom Tag Libraries. Because of some drawbacks of JSP especially the JSP syntax is not XML compliant and therefore fails to guarantee that resulting XML or HTML documents will be well formed. So Struts framework is not provided with good presentation layer flexibility.As is stated above, this thesis introduces XSL technology. Owing to XSL separates content of data from representation of format, we can combine XSL withStruts and improve View of Struts, We provide a new model—StrutsIX afterputting forward a rational solution. The emphasis of the thesis includes other technologies and virtues of StrutsIX, in this model, we use XSL and XSLT to encourage programmer separates operation logic from representation logic thoroughly, result in this model much more approach the promise of MVC. Finally ,we apply StrutsIX to the Intelligent Building Run Management which based on Web to prove this scheme is available.Web design pattern of StrutsIX model which based on J2EE MVC model is adopted to design the whole system. This can divide the application into business module, application controlling module and data displaying module in effect without worrying about coupling problems, improve flexility of the application, develop the system in an orderly way, convenient for integration, maintenance and upgrade.
Keywords/Search Tags:MVC, Struts, XSL, StrutsIX
PDF Full Text Request
Related items