Research and Application of MVC Design Pattern Based on J2EE Platform
- Author
- DuJuan
- Advisor
- ZhuYueLong
- School
- Hohai University
- Major
- Applied Computer Technology
- Classification
- TP393.09 The application of computer network
- Degree
- Master's thesis
- Year
- 2004
- Downloads
- 419
- Citations
- 41
Abstract
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.
Table of contents
The first chapter 7-10
1.1 Background 7-8
1.2 research 8-9
1.3 Papers organizations 9-10
Chapter II J2EE architecture and MVC design pattern 10-19
2.1 J2EE architecture 10-13
2.1.1 Enterprise Application facing challenges and multi-layer B / S architecture 10-11
2.1.2 J2EE architecture 11-13
2.2 MVC design pattern 13-17 <br / 2.2.1 Design Patterns 13-15
2.2.2 MVC design pattern 15-17
2.3 based on J2EE and MVC to develop multi-tier Web applications 17 - 18
2.4 Summary 18-19
the third chapter of the Struts framework 19-28
3.1 Struts system structure 19-20 <br / > 3.2 the Struts components. 20-21
3.3 the Struts control flow 21-23
3.4 Struts configuration and components 23-26
3.4.1 Struts configuration file 23-24
3.4.2 the Struts components 24-26
3.5 Struts features 26-27
3.6 Summary 27-28
Chapter IXIStruts (Integrate XSL Into Struts) model 28-41
4.1 the Struts using JSP limitations 28 < br /> 4.2 Struts improvement programs - an XSL IXIStruts (the Integrate Into the Struts) 28-39
4.2.1 XSL advantages of 29-30
4.2.2 the Struts improve programs and IXIStruts models 30-31
4.2.3 Other technology 31-33
4.2.4 IXIStruts realization of the principle 33-39
4.3 characteristics of IXIStruts the 39-40
4.4 of this chapter Summary 40-41
Chapter based on IXIStruts model 41-55
5.1 features 41-43
5.2 system design 43-45
5.2.1 Design Principles 43
5.2.2 architecture design 43 -44
5.2.3 database design 44-45
5.3 online textbook subsystem detailed design 45-53
5.3.1 view design 45-48
5.3.2 Controller design 48-49
5.3.3 model design 49-52
5.3.4 configuration file 52-53
5.4 system testing 53-54
5.5 of this chapter Summary 54-55
Chapter VI Summary and Outlook 55-57 < br /> 6.1 This paper summarizes 55
6.2 Working Looking 55-57
References 57-59
thank 59
Related dissertations
- Design and Implementation of a Supply Chain System for Manufactural Enterprise
- Design and Implementation of Huafeng Company Integrated Office System
- Based on B/S Structure of the Logistics Enterprise Management Information the Design of the System
- Design and Implementation of Fire Police Dispatch System Based on Java Technology
- The Design and Realize of Hotel Capital Asserts Management System Base on the J2EE Platform
- Retailers Membership Card Management System Design and Implementation
- Design and Implementation of Online Shopping System Based on Struts
- Design and Implementation of University Student Employment Information Sharing Platform of Cucn
- Design and Implementation of Intelligent Management System of Assets
- Design and Implementation of Zhejiang Haoleduo Commercial&Trading Co. Ltd. Human Resource Management System (HRMS)
- Research and Implementation of a Human Resource Management System Based on XX Company
- The Design and Implementation of Construction Project Construction Supervision Report Provided System for Weifang
- The Design and Implementation of Teachers Professional and Technical Qualification Declaration System for Shenzhen City
- The Design and Implementation of Subsidies for People with Disabilities Live Management System for Jinan City
- The Design and Implementation of Oil Supply Management System of the Ship
- The Design and Implementation of Contingency Plans and Resources Management System for Shijiazhuang City
- The Design and Implementation of Administrative Institution Bank Account Management System
- Design and Implementation of the Online Learning System for the C Language Based on the J2EE
- The Design and Implementation of Material Supply Managerment in Fengfeng Group
- Design and Implementation of Dynamic Monitoring System for Budget Enforcement Based on J2EE