Font Size: a A A

Design And Realization Of MVC View Layer Render Engine Based On Xml And J2EE Architecture

Posted on:2008-08-07Degree:MasterType:Thesis
Country:ChinaCandidate:H T LvFull Text:PDF
GTID:2178360242455820Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
With the rapid development of Internet, the B/S based Web software system is replacing the traditional C/S based software systems because of its advantages of easy to deploy, maintain and update. Web View layer is one important part of Web software system as the interface between the system and users. Now the view layer of software system is becoming more and more complex, as the scope of the software system is expending greatly, and new requirement is increasing all the time. On the other hand, users now want the view layer can provide multiple kinds of presentation for same data, while the traditional view layer model only supports single HTML view. So the traditional view layer model tools can't fulfill continual changing and expending requirement. In order to solve these problems, a view layer XML render engine based on XML and MVC design model is proposed in this article, this XML render engine is based on J2EE software developing platform.The XML render engine provides a group of universal tags as the basic construction unit of view layer pages by fully taking the advantage of the agile and opening merit of XML technology, and it also supports user self-defined and expended tags to meet the special requirement in some systems. All these techniques realize the purpose of code reuse. The well formed and readable XML pages make the view layer of the system very easy to expend and maintain, which can meet the increasing and changing requirements. The XML render engine first uses XML parser to convert the XML page into interim data structure which can be recognized by the page render and tag render, and the pass this structure to the page render. Every kind of tag has related tag render to do the render work. When page render gets the data, it will invoke the tag renders to do page render. The XML render engine contains server different kinds of page render, and user can add their owner page render into the engine. So, one XML page can be converted into different kinds of documents, which realizes the support of multiple kinds of presentation of view layer.The comparison with the traditional system based on JSP proves that the XML engine won't significantly increase system response time, and depress the system performance.
Keywords/Search Tags:XML, MVC Design Model, J2EE Architecture, View Layer Model, Render Engine
PDF Full Text Request
Related items