JSF framework in J2EE Web Application Research and Implementation

Author
WanZhengJing
Advisor
PanZeYou
School
Chinese Academy of Engineering Physics
Major
Applied Computer Technology
Classification
TP311.10 Programming
Degree
Master's thesis
Year
2007
Downloads
147
Citations
3

Request the full text

Abstract

In recent years, with the rapid development of network technology, Web application system based on B/S architecture become more and more important. The Java 2 Enterprise Edition (J2EE) platform has the transportability and expansibility and has gradually become a standard platform of developing Web application based on B/S architecture. It’s purpose is to lighten the burden of building enterprise Web application completely. Development of Web application based on J2EE can divide into development of presentation logic and development of business logic. Development of business logic can build through JavaBean. Development of presentation logic is difficult for developing Web application based on J2EE. Because the J2EE platform doesn’t provide reusable UI component and presentation layer framework, the realization of presentation layer is completed by programming JSP/Servlet and JavaScript. It’s an extremely time-consuming work, moreever the code is difficult to reuse and debug.Aimed at the above problems, the thesis uses the development method based on framework. JSF (JavaServer Faces) is the server-side’s application framework based on UI component which implements MVC (Model-View-Controller). It’s a new technology propagandized by Sun Microsystes and it aims at providing a standard framework to develop user interfaces of Web application. MVC design pattern separates presentation layer and business layer. UI components of JSF are binded by event, converter and validator and can response to events created by client-side. It can improve the efficiency of program development by using UI components of JSF. The thesis studied the structure, the implement principal, the core parts and the standar life-cycle of JSF. JSF framework and Struts framework was compared.The thesis takes Luzhou Beifang Plan Management Information System (PMIS) as an example implement. It was discussed in detail that JSF was applied in PMIS. Aimed at the application of JSF, the thesis points out some extension and insufficiency, and provides the solution. Asynchronous JavaScript and XML (AJAX) is a new client-side technology. In viewof the weakness of JSF in client-side, the thesis introduces the client-side framework------AJAX4JSF in Web application system. It can reduce the loader of server-side and raise the response speed. In developing Web application, it can improve the efficiency of program development and the performance of software and can enhance the expendability, reusability, maintenance and flexibility of Web application system by applying JSF.

Table of contents

Abstract 3-4 ABSTRACT 4-6 directory 6-8 The first chapter 8-11 1.1 topic background and significance 8-9 1.2 Main research contents and paper work 9-10 1.3 This structure 10 1.4 Summary 10-11 Chapter J2EE and MVC design pattern 11-17 2.1 J2EE 11-13 2.1.1 J2EE four-layer model 11-12 2.1.2 J2EE platform, several key technologies 12-13 2.2 MVC design pattern 13-16 2.2.1 Web application development common patterns 13-15 2.2.2 MVC design pattern composed 15-16 2.2.3 MVC design pattern advantages and disadvantages 16 2.3 Summary 16-17 Chapter JSF framework 17-33 3.1 JSF framework of the background and objectives 17-18 3.2 JSF framework composition and structure 18-20 3.2.1 JSF framework consisting 18-19 3.2.2 JSF Framework MVC structure 19-20 3.3 standard JSF request processing lifecycle 20-22 3.4 JSF Framework core components 22-30 3.4.1 UI components 22-24 3.4.2 Data Conversion and validation 24-27 3.4.3 Events and Listeners 27-28 3.4.4 page navigation 28-29 3.4.5 International Support 29-30 3.5 and Struts framework comparison 30-32 3.5.1 controller flexibility and event handling mechanism 30-31 3.5.2 navigation mechanism 31-32 3.5.3 User interface development 32 3.5.4 mature 32 3.6 Summary 32-33 Chapter JSF framework extensions and applications 33-56 4.1 system background 33 4.2 system analysis 33-37 4.2.1 Function and Structure Analysis 33-35 4.2.2 system use case analysis 35-37 4.3 system design 37-40 4.3.1 System Architecture 37-38 4.3.2 system class design 38 4.3.3 database design 38-40 4.4 system implementation 40-50 4.4.1 build resource files 40-41 4.4.2 Navigation relationship building 41-42 4.4.3 login function of the realization 42-44 4.4.4 Validator extension 44-46 4.4.5 converter extension 46-48 4.4.6 UI components extend 48-50 4.5 AJAX4JSF application 50-52 4.5.1 AJAX technology introduction 50-51 4.5.2 AJAX4JSF application 51-52 4.6 System Configuration File 52-54 4.6.1 web.xml 52-53 4.6.2 faces-config.xml 53-54 4.7 system is running 54-55 4.8 Chapter Summary 55-56 Chapter Summary 56-58 Thanks 58-59 References 59-61 Appendix 61 papers published in Appendix 1 61 Appendix 2 to participate in academic situations 61

Related dissertations

  1. The Design and Implementation of the Hospital Wards Management System Based on J2EE
    ChenHao ·Hubei University ·2013 ·Master's thesis
  2. Design and Realization of AJAX-Based Information System of Internet Multimedia Resouce Management
    YuKai ·Beijing Jiaotong University ·2008 ·Master's thesis
  3. Design and Realization of the Spare Part Flow Management System Based on JSF Framework
  4. The design and Realization of flight quality monitoring system
  5. Research of Manufacturing Simulation and Workshop Control
    KongFanZuo ·Dalian Polytechnic University ·2013 ·Master's thesis
  6. And the Realization of Hardware Sales Website Design Based on.NET
  7. Research and Implement of Distributed Crawler System Supporting AJAX
  8. Research and Implementation on E-commerce Recommendation System
    LiShiShi ·Hunan University ·2013 ·Master's thesis
  9. Network Based Remote Digital Circuit Experiment under Virtual and Real Combination Framework
    ZhangHuan ·Zhejiang University ·2014 ·Master's thesis
  10. The User Database Resource Management System Based on WEB Design and Implementation
  11. The Research of Applications Based on Combination of SSH2and ExtJs
  12. Implementation of Residential Property Management System Base on ASP
  13. Design and Realization of Training Grade Comprehensive Rating System of Nanjing Information Technology Institute
  14. The Design and Development of Shaanxi Primary and Secondary School Teachers Training Management System
  15. Health Services Cloud Computing Platform Web Front Design and Implementation
  16. Research and Application of Classroom Teaching Assessment System in Primary and Middle School
  17. Design and Implementation of SaaS Software Rental System Platform Based on WEB2.0
  18. Design and Implementation of Online Bookstore Based on.NET
  19. Research of Online Examination System Based on.NET and AJAX Technology
  20. Rural Credit Management System of XinJiang Based on J2EE
    LiuLing ·Dalian University of Technology ·2013 ·Master's thesis