Research of Web Application Based on JSF and EJB3.0

Author
FuMingTeng
Advisor
LiuDongFei
School
Wuhan University of Technology
Major
Applied Computer Technology
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2008
Downloads
160
Citations
1

Request the full text

Abstract

With the development of the Web technology and the widespread use of platform of the J2EE, the multi-layer web architecture based on B/S pattern matures gradually, a lot of frameworks have been developed for each layer of the Java Web application. Because EJB2.X was very complex, JavaEE5.0 new specification conducted extensive revisions on EJB. JavaEE5.0 specification issued EJB3.0 new specification and developed a persistent specification JPA instead of EntityBean in the previous specification, JSF had officially become a part of the specification.When a developer designs a Web application structure, he must consider how to choose frameworks and how to integrate frameworks in order to each layer mutual cooperated in a loose coupling manner. This thesis designed a Web application structure based on JSF and EJB3.0, the structure provided one-stop solution for enterprise application development from presentation layer to business logic layer and persistence layer. The integration of two frameworks cans very good balance to the development efficiency and maintenance costs, which has highly practical value.Firstly, the thesis studied the Web application multi-layer framework technology. It introduced the JavaEE5.0 specification and the Web application multi-layer architecture. Through comparative analyzed the mainstream Web Application Framework, the thesis put forward the Web application structure based on JSF and EJB3.0.Secondly, the thesis studied in detail JSF and EJB3.0 technology and put forward the various methods of integrating JSF with EJB3.0 to develop a Web application. Through integrated Facelets and AJAX technology, the thesis designed a fully functional Web application structure. In the end, the thesis discussed the advantages of the Web application structure.Finally, the author designed and developed an E-commerce system using the JSF and EJB3.0 integrating structure. In the process of the system’s design and development, the author followed the object-oriented thought. The system was designed and developed using the developing method based on the domain model instead of the traditional developing method based on the database. This developing method provided a new idea and method for the development of a efficient and flexible multi-layer system. In addition, the author improved Shopping cart’s function and put forward a new method to develop Shopping cart.

Table of contents

Abstract 4-5 Abstract 5-9 Chapter 1 Introduction 9-13 1.1 research purpose and meaning 9-10 1.2 Project Research 10-11 1.3 research 11-13 2 Web application the multistory frame technology 13-22 2.1 JavaEE specification 13-15 2.1.1 JavaEE Overview 13-14 2.1.2 JavaEE architecture 14-15 2.2 Web Application layered architecture 15-17 2.3 mainstream Web application framework comparison 17-20 the framework of 2.3.1 presentation layer 17-18 2.3.2 framework of the business logic layer 18-19 2.3.3 persistence layer framework 19-20 2.4 Web-Based Enterprise Application Architecture select 20-22 Chapter 3 JavaEE Web Application Technical Analysis 22-40 3.1 JSF framework 22-30 3.1.1 MVC design pattern 22-23 3.1.2 JSF framework MVC achieve 23-24 3.1.3 JSF framework of key technology 24-28 3.1.4 JSF request processing lifecycle 28-30 3.2 EJB component technology 30-40 3.2.1 EJB Introduction 30 3.2.2 EJB component model 30-31 3.2.3 an EJB role 31-32 3.2.4 EJB3 simplified development model 32-36 3.2.5 Lightweight JPA model 36-40 Chapter 4 JSF and EJB3.0 integration architecture design 40-49 4.1 JSF and EJB3.0 integration solutions 40-45 4.1.1 Backing Bean 40-43 4.1.2 JBoss Seam framework 43-45 4.2 JSF and EJB3.0 integration architecture improvements 45-48 4.2.1 integrated AJAX technology 45-47 4.2.2 integrated Facelets framework 47-48 the advantage of 4.3 JSF and the EJB3.0 integrated architecture 48-49 Chapter 5 Web Application System Design and Application 49-75 5.1 system background 49 5.2 design strategy 49-50 5.3 overall system design 50-58 5.3.1 system architecture design 50 5.3.2 system functional requirements analysis 50-54 the 5.3.3 domain model design 54-58 5.4 system layered design 58-73 5.4.1 system development environment 58-59 5.4.2 Persistence Layer Design and Implementation 59-61 5.4.3 Business Logic Layer Design and Implementation 61-66 5.4.4 presentation layer design and implementation 66-73 5.5 system running interface 73-75 Chapter 6 Summary and Outlook 75-77 6.1 This work summarizes 75-76 6.2 further work 76-77 the References 77-79 Acknowledgements 79-80 the studying for a master's degree during the academic 80

Related dissertations

  1. The Research and Implementation of Life Service Information Platform Based on Java EE
  2. The Research about the Web Application Based on JSF and EJB
    ZhengQing ·Chengdu University of Technology ·2013 ·Master's thesis
  3. Design and Implement Selecting Courses Based on J2EE
    FanHuiLian ·Chongqing University ·2007 ·Master's thesis
  4. Assignments and exams system model and the analysis and application of new technologies
  5. Improvement of Service Module of Integrated Data-Service Platform
  6. The Master Plan of YC Enterprise Information
  7. Research on Registeration Access System of Structural Engineer
    ZuoGuangXing ·Harbin Institute of Technology ·2012 ·Master's thesis
  8. Research on Institutional Innovation for Promoting China’s Urban-rural Integration
    ZhangJun ·Northeast Normal University ·2013 ·Doctoral dissertation
  9. The Frame of News Commentary Writing Medthods Critic in the Chinese Academic Journals’ Papers during Lately Decade
  10. Key Technology Research of Ontology Mapping for the Semantic Web
    ZhaoHongJie ·Harbin Engineering University ·2013 ·Master's thesis
  11. Design and Implementation of Government Departments Decision Management System Based on Data Mining
  12. Research and Development on the Key Technology of Production Management System Oriented to Small and Medium-sized Injection Molding Enterprises
  13. Design and Implementation of the System of China Mobile "Easy Workers" Business Support System
  14. Design and Implement of Telematics System Service Center Subsystem
    WangHuaChen ·Northeastern University ·2013 ·Master's thesis
  15. The Research of Java EE Framework and Designed on the E-Commerce Pattern of OAO
    MaHuiBin ·Chang'an University ·2013 ·Master's thesis
  16. Design and Implementation of the Bussiness Support System for China Telecom
  17. Design and Implementation of Tax Investigation Information System
    HeJin ·Xiamen University ·2013 ·Master's thesis
  18. Research and design of workflow engine for office automation
  19. Design and Implementation of Nanchang Qingyunpu Area Management Information System of Discipline Inspection Work
  20. The Design and Implement of Material Management of Fuzhou Flour Company