Research and Realization of Web Application Based on JSF and Hibernate

Author
ZuoJianFei
Advisor
YangChunJin
School
Wuhan University of Technology
Major
Signal and Information Processing
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2008
Downloads
120
Citations
3

Request the full text

Abstract

With the development of Internet and enterprise information construction, the requirement of Web-based application systems have become more complex, the development cycle is increasingly shorter. System scalability, maintainability, stability and alternation have become more sophisticate. But every distinct case in fact usually needs a distinct settlement, which means too heavy price of time and money to meet the information-based request for an enterprise. For efficiency, catholicity, safety, and practicability, a better design pattern and a reusable system framework are imperative to wok as a universal template in exploitation of web-based systems. The design mode describes all-purpose, simple and reusable solving plan’s core, and understanding correctly and applying design mode will get twice the result with half the effort basing on JAVAEE system’s applying systemic development.After investigations of current n-tier systems as well as the JSF design framework and the Hibernate framework, a new n-tier framework to build web-based system is brought up in this paper based on the MVC pattern theory. In the development of system, JSF makes the different roles of View-tier and Business logic tier, one is modified but don’t effort the other, in order to increase the efficiency of System development. To Hibernate, it is an ORM tool for java environment. It manages the mapping from java classes to database tables and the operation of persistent objects. ORM of Hibernate can mapping one object to many tables, can mapping several types of associations and class inheritance. Hibernate query language realized polymorphic association query and dynamic query.Firstly, this paper has a sample introduction of MVC and JAVAEE design pattern, and bases on that, it has the in-depth analysis for JSF framework and Hibernate framework. A web application integration framework model based on JSF and Hibernate has been advanced. The focus is UI components, event Model and database mapping of the integration framework have been analysed, its solution have been given. Finally, the Web part of DesignAnyWhere system as an example, this paper discussed the application of JSF and Hibernate integration framework in the system. Practice shows that the application of JSF and Hibernate framework can improve the efficiency of Web systems development, while meeting system scalability、maintainability and high alternation requirements.

Table of contents

Abstract 4-5 Abstract 5-9 Chapter 1 Introduction 9-13 1.1 Background 9-11 1.2 Research Significance 11-12 1.3 thesis structure 12-13 the of Chapter 2 MVC design pattern with JAVAEE 13-18 2.1 MVC design pattern 13-15 2.2 JAVAEE architecture 15-16 2.3 MVC mode in the JAVAEE platform application 16-18 Chapter 3 JSF framework technology 18-23 3.1 JSF framework 18-19 3.2 JSF framework works 19-20 3.3 JSF lifecycle The 20-23 Chapter 4 Hibernate framework technology 23-31 4.1 Hibernate with several Java database access technology 23-24 4.2 Hibernate architecture 24-28 4.2.1 Overall structure 24-25 4.2.2 Hibernate programming interface 25-28 4.3 query mechanism 28-31 4.3.1 query methods 28-29 4.3.2 The data acquisition and strategy 29-31 Chapter 5 JSF framework and Hibernate technology integration architecture model 31-36 5.1 integration framework UI components 31-32 5.2 Integration Framework event model 32-34 5.3 model components and database mapping 34 5.4 integrating JSF and Hibernate pros 34-36 Chapter 6 DesignAnyWhere System Web platform design 36-40 the system background 6.1 DesignAnyWhere 36 6.2 platform module divided 36-37 the various functional modules Introduction 6.3 platform 37-39 6.4 platform process 39-40 Chapter 7 Web platform based on the JSF framework and Hibernate framework the technology DesignAnyWhere system 40-57 7.1 build integrated JSF and Hibernate system environment 40-44 7.1.1 system integration JSF 40-41 the integrated Hibernate 7.1.2 System 41 7.1.3 system integrated AJAX 41-42 the Faceslet create reusable components 7.1.4 JSF 42-44 Add 7.1.5 system log function 44 7.2 Entity Bean persistence to develop 44-48 7.2.1 table and the entity Bean 44-47 7.2.2 persistent class 47-48 7.3 Web layer to achieve 48-51 7.3.1 to create background Bean 48-49 the 7.3.2 value The binding action event 49 7.3.3 registered in the configuration file in the background Bean 49-50 7.3.4 build navigation rules 50-51 applications 7.4 problems encountered and solutions 51-52 7.4.1 database lose connection 51 7.4.2 large-capacity data submitted query failed 51-52 7.5 DesignAnyWhere System Web platform presentation and results analysis 52-57 Chapter 8 Conclusion 57-58 the References 58-61 Acknowledgements 61-62 the studying for a master's degree during the thesis 62

Related dissertations

  1. The Implementation of Office Automation Based on Osworkflow and Open Source Frame
  2. Workflow Research Based on JSF Technology
    BaiYunShan ·Chengdu University of Technology ·2012 ·Master's thesis
  3. The Design and Implementation of SSH Architecture Based OA System
    SuShaoZhi ·Tianjin University ·2012 ·Master's thesis
  4. Design and implementation of cash management system
  5. A Campus Communication System Based on Android+JAVA EE Structure
    QiaoYiCheng ·Jilin University ·2012 ·Master's thesis
  6. Research and implementation of the experimental teaching system based on MVC architecture
  7. Design of Information Delivery System’s Framework and System Integration
    WangFeng ·Zhejiang University ·2008 ·Master's thesis
  8. The Research and Implementation of Life Service Information Platform Based on Java EE
  9. Network Based Remote Digital Circuit Experiment under Virtual and Real Combination Framework
    ZhangHuan ·Zhejiang University ·2014 ·Master's thesis
  10. Design and Realization of mobile office system
  11. Based on B/S Structure of the Logistics Enterprise Management Information the Design of the System
  12. The Design and Implementation of the Hospital Wards Management System Based on J2EE
    ChenHao ·Hubei University ·2013 ·Master's thesis
  13. Research and Application Based on SSH2and JBPM for J2EE Develop Platform
    DingZhiYi ·Northwest Normal University ·2013 ·Master's thesis
  14. The Research of Java EE Framework and Designed on the E-Commerce Pattern of OAO
    MaHuiBin ·Chang'an University ·2013 ·Master's thesis
  15. Personnel salary management system based on WEB application
  16. Design and implementation of no warehousing logistics management platform based on SSH
  17. The Analysis and Design of the Prison Event Investigation System Based on JAVA EE
    YangZhiCheng ·Sun Yat-sen University ·2013 ·Master's thesis
  18. The Research and Application of Web Framework based on Lightweight J2EE
    ZengGuangPing ·Sun Yat-sen University ·2013 ·Master's thesis
  19. Design and Implementation of University Student Information Management System Based on MVC and ExtJS
    GuLiYe ·Dalian University of Technology ·2013 ·Master's thesis
  20. Design and Implementation of Training Management System of ShanXi Sram Technology Co.,Ltd.
    LiYongBing ·Dalian University of Technology ·2013 ·Master's thesis