Font Size: a A A

Research And Application Of MVC Design Pattern Based On J2EE Platform

Posted on:2005-02-19Degree:MasterType:Thesis
Country:ChinaCandidate:J DuFull Text:PDF
GTID:2168360122475228Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
In recent years, with the rapid development of network and extensive adoption of J2EE platform, multi-layer Web structure based on B/S grows up gradually. MVC design pattern separates control of data from representation of data, and therefore has the advantage of implementation of multi-layer Web applications. Struts is the application framework which implements MVC based on J2EE platform. It eases the burden of constructing multi-layer Web applications and provides reusable software architecture. In Struts, View is made up of JSP and JSP Custom Tag Libraries. However, as an excellent technology for creating views, JSPs have some drawbacks, especially the JSP syntax is not XML compliant and therefore fails to guarantee that resulting XML or HTML documents will be well formed. In this way, the existing framework is not provided with good presentation layer flexibility.As is stated above, this thesis introduces XSL technology. Through analysing its characteristic, we can combine XSL with Struts because of the mighty conversion function in XSLT and improve View of Struts. We provide an improved model -IXIStruts - after putting forward a rational solution. This model is the extension of Struts. It separates Business Logic from Presentation and supports XML, XSL. It can support many types of clients, such as IE, PDA. This model is easier to maintain and extend. The emphasis of the thesis includes the design principle and key technique of IXIStruts model. Finally, a typical Web application - online bookstore - is designed and implemented using IXIStruts.
Keywords/Search Tags:J2EE, Model/View/Controller design pattern, XSL, Struts, IXIStruts
PDF Full Text Request
Related items