Study and Design of Middleware Based on Struts and JSF Technology
- Author
- YangHao
- Advisor
- GuoQingPing
- School
- Wuhan University of Technology
- Major
- Applied Computer Technology
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2005
- Downloads
- 289
- Citations
- 2
Abstract
Struts and JavaServer Faces appeared in recent years, new technology for Java enterprise users. Struts Apache organization of open source J2EE application architecture is a highly scalable, flexible control layer framework. Its goal is to reduce overall burden of the member enterprise-class Web applications. JavaServer Faces is a Web application server-side technology one can develop a custom user interface. These two technologies can not be directly interoperable, J2EE Web applications at the same time reflect the respective strengths of the two technologies. This article mainly elaborated how to design a Java-based middleware, the flexibility of the rich user interface in JSF and Struts control layer are embodied in Web applications. Middleware plays an important role in the development of the software industry. Generation of middleware technology, more application software development and applications on heterogeneous platforms. This role in the rapid development of today's world of computer technology, middleware is particularly highlighted. Middleware is widely used in various fields, and the resulting different middleware specifications and technology. Due to the support of the global market for middleware, the middleware is becoming a new economic growth point in the IT industry. MVC model by creating the three layers of the model, view and controller, object-oriented design and visualization interface separately. Some Web-based system, suitable MVC framework, Struts and JSF uses MVC pattern. Struts uses JSP custom tag and MVC increased code reusability and flexibility of the control layer. Therefore, in a large and complex system development, Struts framework has a lot of advantages and good prospects for development. JSF is advocated by the Sun's technology, its main purpose is to provide a standard framework for the development of a Web application user interface. JSF provides a the expressive component model, and user interface components are running on the server to respond to events generated by the client. JSP custom tag library in Struts framework and JSF technology this tag library has a relative independence in the presentation layer. Control layer of the Struts framework allows developers to customize specific processes handle class. Based on the above two points, can be based on the JSF specification to create custom JSF components with JSF user interface components together to complete the function of the presentation layer. And call control layer of the Struts framework customized workflow processing class to handle different types of page requests. So can be used in the presentation layer JSF user interface components, control layer and model layer continue to use the Struts framework controller and business logic. Compare the Struts framework and JSF technology, middleware design feasibility analysis. Then elaborated presentation layer custom JSF components and process control layer processing design and implementation of the class to demonstrate the effect of middleware running through a Web application routines and further analysis Struts box
Table of contents
Summary 3-5
ABSTRACT 5-10
Chapter 1 Introduction 10-13
1.1 STRUTS framework, Profile
1.2 JSF Technology Overview the 10-11
1.3 two technology-based middleware 11-13
Chapter 2 middleware Overview to generate background 13-22
2.1 middleware 13
2.2 middleware definition and evolution 13-15
2.2. a the middleware definition of 13-14
2.2.2 Evolution of mainstream middleware 14-15
2.3 applications and classification 15 - 16
2.4 middleware technology specification 16-18
2.4.1 the DCE system the DTP model 16
2.4.2 16-17
2.4.3 CORBA 17-18
2.4.4 J2EE 18
2.5 mainstream middleware technology 18-20
2.5.1 CORBA 18-19
2.5.2 EJB 19
2.5.3 DCOM 19 -20
2.6 middleware trends 20-22
Chapter 3 MVC pattern 22-31
3.1 design patterns outlined 22-23
3.1.1 The concept of design patterns nbsp the 3.1.2 design patterns basic elements 22
; 22-23
3.2 MVC the background mode 23
3.3 MVC design patterns 23-26
3.3.1 Observer pattern 24-25
3.3.2 Composite mode 25
3.3.3 Strategy mode 25-26
the 3.4 MVC mode structure and the implementation process 26-29
3.4.1 MVC mode structure to achieve 26-28
3.4.2 process 28-29
3.5 MVC mode in WEB system application 29-31
3.5.1 view Web system nbsp 29-30
3.5.2 model in the Web system; 30
3.5.3 Controller Web system 30-31
Chapter 4 on STRUTS 31-41
4.1 MODEL 1 and MODEL 2 Introduction 31-32
4.1.1 Model 31
4.1.2 Model 2 31-32 <br / > 4.2 JSP mark 32-33
4.3 the STRUTS framework of structural 33-37
4.3.1 ActionServlet class 34-35
4.3.2 ActionForm class 35-36
4.3.3 Action class 36-37
4.3.4 the ActionMapping class of 37
4.3.5 TagLib library and Commons Logging interface 37
4.4 STRUTS process flow the 37-40
4.5 STRUTS development, prospects 40-41
the advantages and disadvantages for the Struts 4.5.1 40
4.5.2 Struts prospects 40-41
Chapter 5 JSF Technical specifications 41-49
5.1 the JSF overview of 41-42
5.1.1 JSF background 41
5.1. the 2 JSF Profile 41-42
5.2 JSF specification structure the 42-45 5.2.1 JSF specification
components 42-43
5.2.2 JSF UI components 43-44
5.2.3 JSF application components 44-45
5.3 JSF page life cycle 45-48
5.3.1 request processing lifecycle scene the 45-46 5.3.2 JSF standard life cycle
46-48 < br /> 5.4 JSF technology advantages and shortcomings the 48-49 5.4.1 JSF technology
advantages 48
5.4.2 JSF technical deficiencies 48-49
Chapter 6 middleware feasibility study and design the 49-62
6.1 JSP tag libraries 49-51
.1.1 JSP Tag Profile 49
6.1.2 JSTL 49-50
6.1.3 JSP custom tag library 50-51 < br /> 6.2 middleware feasibility study the 51-53 6.2.1
middleware design goals 51-52
6.2.2 JSF and Struts Similarities and Differences 52-53
6.2.3 Feasibility Analysis 53
6.3 middleware design 53-62
6.3 .1 overall design 53-54
6.3.2 presentation layer design 54-58
6.3.3 control layer design 58-62 < br /> Chapter 7 middleware implementations the 62-75
7.1 indicates layer implementation 62-73
7.1.1 tag libraries nbsp are; 62-68
7.1.2 Marking processor the 68-70 7.1.3
logic components to achieve 70-72
7.1 .4 expressed implement 72-73
7.2 control layer to achieve 73-75
7.2.1 Action listener implementation 73-74
7.2.2 controller to achieve 74-75
Chapter 8 Summary and Outlook 75-80
8.1 middleware STRUTS SHALE 75-76
8.1.1 Struts Shale, 75
8.1.2 middleware Struts Shale 75-76
8 WEB middleware application .2 routine 76
8.3 middleware running effect 76-78
8.3.1 changes in the presentation layer 76 -77
8.3.2 control layer changes 77-78
8.3.3 model layer changes 78
8.3.4 middle the pieces the role summarize 78
8.4 STRUTS and JSF technology Prospect 78-80
Reference 80-84
Acknowledgements 84 -85
Appendix 85
Related dissertations
- Middleware - based interactive online teaching environmental studies
- Research and Realization of Web Application Based on JSF and Hibernate
- Design and Implementation of Network Shop System Based on the JSF、Hibernate and Spring Framework
- Design and Implementation of a Supply Chain System for Manufactural Enterprise
- The Study of Intelligent Warehouse System Based on the Internet of Things
- Research on Information Fusion Technology in Internet of Things for Context Awareness in Shmart Home
- Design and Implementation of Finance Forum Web System
- Design and Implementation of Huafeng Company Integrated Office System
- Research on Web Information Extraction Middleware for Supply and Demand of Agricultural Products
- Development of Realtime Interface Device for Hit-tena’s Resources
- Research of RFID-based Commodity Anti-counterfeiting and Traceability System Technology
- Research and Application of RFID Middleware Based on Warehouse Management
- Development of embedded network fingerprint attendance system
- The Design and Implementation of the Securities Industry Large Centralized Trading 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
- Research and Design of Middleware about Data Distributing in Campaign System
- Application and Research of Digital Room Service System Based on Cluster Server
- The Design and Realize of Hotel Capital Asserts Management System Base on the J2EE Platform
- Architecture Design and Research of Information Asset Management System Based on Contract Management as the Center