Research and Application of J2EE-based Web component design mode
- Author
- ZhangXuGang
- Advisor
- LiuFengYu
- School
- Nanjing University of Technology and Engineering
- Major
- Applied Computer Technology
- Classification
- TP311.10 Programming
- Degree
- Master's thesis
- Year
- 2006
- Downloads
- 375
- Citations
- 1
Abstract
The paper mainly makes research of representation patterns in J2EE Core Patterns and a few relative patterns in GoF(Gang Of Four). The development of web component in a large and complex web system development is complex and needs a lot of work to do. Although J2EE platform provides many technologies, it doesn’t tell how to organize these technologies to resolve problems and how to resolve the problems often to be met in system development. These flaws bring a series of problems, such as period long, fee high and quality unreliable. Design patterns provide a strategy. The paper gives problem description, solution and realized strategy.The paper reviews naissance, development and evolvement of design patterns. It analyzes suitable context of representation patterns, solution and relative UML structure diagram. Through research, the paper gives proposed strategies of intercepting filter, front controller and view helper to be realized, introduces benefits to use these strategies and makes a compare between "service to worker" and "dispatcher view". Combined with JSF framework, it discusses a few patterns of GoF and analyses their context and importance to JSF framework. At last applying Hibernate and Dao pattern resolves database accessing in NUST OA. And with a few patterns of GoF and presentation patterns it resolves a few problems in presentation tier, such as request handling, client authentication and composite view management.
Table of contents
Summary 3-4
Abstract 4-5
directory 5-7
1 Introduction 7-9
1.1 Background 7-8
1.2 thesis research 8
1.3. thesis of organizational arrangements 8-9
2.J2EE said layer mode 9-26
2.1 design patterns of evolution the 9-10
2.2 architecture frameworks and design patterns relationship between 10-12 < br /> 2.2.1. relationship between the framework and the architecture relationship between the 11
2.2.2 frameworks and design patterns 11-12
2.3.GoF ( Gang Of Four) mode the the
2.3.1.GoF mode 12-13 classification 12
2.3.2.GoF mode importance 12-13 < br /> 2.4.J2EE mode 13-17
2.4.1.J2EE platform Overview 13-14
2.4.2.J2EE design patterns 14 - 16
2.4.3.J2EE kernel mode TheServerSide mode the presentation mode nbsp 16-17
2.5.J2EE; 17-23
2.5.1 interception of filter
2.5.2. 18-19 front controller 19-20
2.5.3. the view helper 20-22
2.5.4. worker services 22
2.5.5. distributor of view the difference between service workers 22-23
2.6.Web the member design technology 23-25 ??< br /> 2.6.1.J2EE application consists of components 23 of
2.6.2.Servlet 23-24 of
2.6.3.JSP 24 - 25
2.6.4.JavaBeans 25
2.7 Summary 25-26
3.JSF framework of design patterns 26-40 < br /> 3.1.JSF Overview 26-30
3.1.1.JSF of interface model 27-29 the
3.1.2.JSF request lifecycle the mode applied research 29-30
3.2.JSF 30-39
3.2.1 Single-mode application 30-32
3.2.2 factory method pattern applied research 32-33
3.2.3 Status mode applied research 33-35
3.2.4 decorative patterns applied research 35-37
3.2.5. the observer pattern applied research 37-39
3.3 Summary 39-40
4. detailed design 40-47
4.1. system function introduced 40-41
4.1.1 Information released 40-41
4.1.2 document management 41
4.1.3. transaction management 41
4.1.4 personal office 41
4.1.5 system management 41 < br /> 4.2. system framework design 41-43
4.2.1.JSF 42
4.2.2.Hibernate 42
4.2.3 integrated Hibernate. Spring 42-43
4.3 applications in the system mode 43-44 the
4.4.Dao mode of application 44-46 <br / > 4.5. Summary 46-47
5.The Web component design mode 47-62
5.1. projects outlined are found; 47-48
5.1 .1 system functional requirements 47
5.1.2 system features 47-48
5.1.3 system running environment 48 <br / > 5.2. layer analysis 48
5.3 front-end controller applications the 48-52
5.3.1 System Requirements Analysis 48-49
5.3.2 mode realization 49-52
5.3.3 mode application effect 52
5.4 composite view applications 52-56 < br /> 5.4.1. system requirements analysis the 52-53
5.4.2 model to achieve 53-55
5.4.3 mode application effect 55 -56
5.5. interception filter the 56-61
5.5.1 System Requirements Analysis 56
5.5.2.Servlet filter 56-58
5.5.3. implementation class diagram 58-59
5.5.4. resolve character encoding problem 59-61
5.5.5. The effect of mode application 61
5.6 Summary 61-62
6 Summary and Outlook the 62-64
6.1 summarizes 62
6.2. outlook 62-64
Acknowledgements to References 64-65
65-67
Related dissertations
- Design and Implementation of an ATM Bureau of Communication Navigation Surveillance System
- J2EE platform - based code generator
- The Master Plan of YC Enterprise Information
- Research on Registeration Access System of Structural Engineer
- Research on Institutional Innovation for Promoting China’s Urban-rural Integration
- The Frame of News Commentary Writing Medthods Critic in the Chinese Academic Journals’ Papers during Lately Decade
- Key Technology Research of Ontology Mapping for the Semantic Web
- Design and Implementation of the System of China Mobile "Easy Workers" Business Support System
- The Research of Java EE Framework and Designed on the E-Commerce Pattern of OAO
- Design and Implementation of the Bussiness Support System for China Telecom
- Design and Implementation of Nanchang Qingyunpu Area Management Information System of Discipline Inspection Work
- The Design and Implementation of Agricultural Distribution Information Management System Based on J2EE
- Emergency Command System Client Pluggable Design and Implementation
- Design and Implementation of a Server-side mashup Framework
- Design and Implementation of Human Resource Management System
- Design and Implementation of Software for Children’s Elementary Painting Education Based on iOS
- Design and Implementation of Grain Purchase and Sale Management Information System Based on Web Framework
- Design and Application of a General Frame for Desktop Application Base on Webkit
- The Design and Implementation of Housing Rental Information Management System Based on J2EE
- Radio Monitoring and Direction-finding System Software Development