Study & Implementation of JSF Based on J2EE Integrated Framework
- Author
- ZhaoWenLong
- Advisor
- LouXinYuan
- School
- Southwest Jiaotong University
- Major
- Applied Computer Technology
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 97
- Citations
- 1
Abstract
With the development of Internet technology and information construction, based on J2EE multi-tier Web applications to quickly build a distributed enterprise applications, J2EE Web-tier components provide the page display, business logic and data processing are concentrated in the page code coupling is too strong, the expansion of Web applications and difficult to maintain, is not conducive to the development of personnel division, resulting in the application. How to quickly build a reusability, scalability, and ease of maintenance of Web applications become important issues in J2EE development. In response to these issues, this paper analyzes the the J2EE specification multi-layer structural basis, determine the layered architecture of the platform; followed by analysis of the technology used in the corresponding layer architecture; focusing analysis framework JSF UI components composition structure works processing cycle, custom components, and the similarities and differences with Struts do a comparative analysis, and briefly Ajax, Spring, Hibernate. Compared several J2EE open source framework, select Spring as infrastructure, Hibernate for data persistence services, Ajax to speed up the page display. In addition JSF as a presentation layer framework based UI components and event-driven, Web developers take advantage of its rich UI components, so that shows the behavior of separation, greatly improve development efficiency, and can handle events generated by a certain life cycle , and then using the JSF for the Web presentation layer development, then Ajax4JSF, JSF, Spring, Hibernate integration, the formation of a J2EE the integrated framework AJSH (Ajax4JSF-JSF-Spring-Hibernate), a detailed analysis of the integration process study AJSH framework; and A Comparative Study of the JSF in the integrated framework and presentation design mode. Finally the integrated framework is applied to the Civil Aviation Administration Air Traffic Safety Information System, the focus on the JSF to achieve in the system; effectively extend the JSF custom converter, custom validator, custom UI component and system has been applied; business research JSF integration framework integration testing. The system has been put into operation, the current practice shows that the integrated framework for the development of Web applications can give full play to the advantages of individual frames, reducing the complexity of Web application development, improve the efficiency of system development; especially after using JSF, you can speed up the creation of a Web application UI interface and development, and enhance the reusability of Web applications, reduce the degree of coupling of Web applications, simplify validity check of the Web Form Request parameter parsing, state management and other tasks.
Table of contents
Abstract 6-7
Abstract 7-12
first chapter 12-16
1.1 Background and status 12 - 13
1.1.1 background 12
1.1.2 research 12-13
1.2 research content and significance 13-15 <br / > 1.2.1 research 13-14
1.2.2 significance 14-15
1.3 paper structure 15-16
Chapter J2EE platform and expanding technology 16-27
2.1 MVC design pattern analysis and implementation 16-17
2.2 UI component framework and JSF 17-26 <br / > 2.2.1 JSF composition 18-19
2.2.2 JSF works 19-21
2.2.3 JSF processing lifecycle 21-23 < br /> 2.2.4 JSF custom component technology 23-24
2.2.5 JSF page navigation rules 24-25
2.2.6 and Struts similarities 25-26
2.3 J2EE other technical 26-27
2.3.1 object Persistence with Hibernate 26
2.3.2 business Process and Sping 26
2.3.3 J2EE extension technology AJAX 26-27
Chapter J2EE integration framework AJSH integration and research 27-36
3.1 Web application Architecture analysis 27-28
3.2 AJSH integration framework integrates 28-31
3.2.1 Ajax4JSF and JSF integration 28-29
3.2.2 JSF integration with Spring 29-30
3.2.3 Spring and Hibernate integration 30-31
3.3 AJSH integration framework works 31-33 < br /> 3.4 AJSH integrated framework for the overall design 33-34
3.5 Comparative analysis with other integration platforms 34-36
JSF in Chapter IV of the advantages of integration framework AJSH and research 36-46
4.1 JSF integration framework AJSH in comparative advantage in 36-44
4.1.1 visual development 36-38
4.1.2 reusable UI components 38-39
4.1.3 centralized page navigation 39-42
4.1.4 event-driven model 42-43 < br /> 4.1.5 presentation layer and business layer separation 43
4.1.6 user interface and business logic directly mapped 43-44
4.2 JSF Web applications to solve common program development issues 44-45
4.3 JSF Web application development in the presentation layer design pattern 45-46
Chapter JSF integration framework AJSH in the realization 46-77
5.1 system Requirements Analysis 46-49
5.1.1 Introduction 46
5.1.2 business functions Overview 46-47
5.1.3 business Analysis 47-49
5.2 system design 49-51
5.2.1 system design business entity 49 - 50
5.2.2 system layered design 50-51
5.2.3 system Architecture 51
5.3 system Configuration File 51-55 < br /> 5.3.1 Web.xml 52-53
5.3.2 Faces-config.xml 53-54
5.3.3 ApplicationContext.xml 54 -55
5.4 presentation layer to achieve 55-68
5.4.1 JSF extension technology 55-59
5.4.2 Web layer implementation 59 - 61
5.4.3 UI components in the Web application layer to achieve 61-65
5.4.4 ManagedBean layer implementation 65-67
5.4.5 JSF page navigate to achieve 67-68
5.4.6 Presentation Layer data processing 68
5.5 other layers to achieve 68-72
5.5.1 Service layer implements 68-69
5.5.2 Dao layer implementation 69-70
5.5.3 PO layer implementation 70-72
5.6 JSF application exception handling 72-73
5.7 system is running part of the interface description 73-77
5.7.1 voluntary reporting subsystem running interface 73-76
5.7.2 JSF in the voluntary reporting subsystem application 76-77
Chapter JSF integration framework AJSH in the business integration testing 77-80
6.1 test Environment 77
6.2 component business integration testing 77-79
6.3 component processing cycle testing 79-80
Conclusion and Outlook 80 - 82
paper completed the major work 80-81
future research prospects 81-82
Thanks 82-83
References 83-86
Appendix 86-91
in postgraduate and research papers published during working 91
Related dissertations
- Study of Related Issues of Network Accounting Information System Establishment
- Research and Implementation of the Evaluation Technology of Energy Consumption in Wireless Sensor Networks under the Complex Environments
- The Design and Implementation of Engineering Project Management System
- Research and Implementation of Node Energy Modeling in Wsn Based on Queueing Petri Nets
- A Study on Erp Financial Management System Based on Agile Financial Chain
- A Research on Complementary Marketing Faced R to Complementary Marketing Assets
- Event-Driven Based Hierarchical and Adaptive Network Management System
- Research on the Techniques for Componentized Control Functions of Reconfigurable Network
- Application Research on Event Driven and Protocol Driven of Given Field Oriented of Topic Crawler
- Modular design and optimization of front banking system
- Occupation Skill Testing System Design and Implementation of Wuhan Iron and Steel (Xiangfan) Company
- Based on QP-nano Automobile ABS Simulation Software System Design and Realization
- Workflow Research Based on JSF Technology
- Design and Implementation of an Epoll-Based Information Push System
- Testing for Selecting Atm Equipments Based on Event-Driven
- Research on integrated framework of software production line
- Design and implementation of remote training platform for the occupation education
- The Design and Implementation of the Recruitment System within Recommended Part of Insurance Company
- The Research about the Web Application Based on JSF and EJB
- University Students Management System Design and Implementation