Research and Application of Multilayer Truss Based on Struts and Hibernate

Author
LiJiRui
Advisor
YangGuoXun
School
Wuhan University of Technology
Major
Applied Computer Technology
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2006
Downloads
343
Citations
19

Request the full text

Abstract

In recent years, there has been greater demands for application Systems based on Web to meet more complicated requirements, shorter R&D time cycle as well as higher system stability, expansibility, and maintainability. But every distinct case in fact usually needs a distinct settlement, which means too heavy price of time and money to meet the informatization request for an enterprise. For efficiency, catholicity, safety, and practicability, a better design pattern and a reusable system framework are imperative to work 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 J2EE system’s applying systemic development.After investigations of current n-tier systems as well as the Struts design framework and the Hibernate framework, a new n-tier framework to build web-based systems is brought up in this paper based on the MVC pattern theory.In the development of System,Struts makes the diffirent roles of View-tier and Business logic tier,we can modify one but don’t effort the other, in order to increase the effirency of System development. To Hibernate,it is an ORM tool for java envirorment.It manages the mapping from java classes to database tables and the operation of persistent objects.Hibernate’s ORM 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.Discussions about how to relate the Struts design framework and the Hibernate framework with the help they are also used in practice.An example based on Beijing RenHe Web-shop System is introduced to illustrate the process to build an n-tier-framework-based system with the help of the Struts framework and the Hibernate framework.in this case, distinction between description logic and business logic is made possible within the MVC design pattern, which means better flexibility and easier management in the exploration of a system.Results show that this new framework helps to increase work efficiency in exploration.Meanwhile, expansibility and maintainability of the system within this framework are also satisfactory.

Table of contents

Chapter 1 Introduction 9-12 1.1 Background 9-10 1.2 research meaning 10 1.3 topics 10 -11 1.4 thesis organization 11-12 Chapter 2 J2EE Overview 12-17 2.1 J2EE technology 12-13 2.2 J2EE framework 13-15 2.2.1 Java Servlet 14 2.2.2 JSP 14-15 2.2.3 EJB 15 2.3 multi-tier architecture 15-17 Chapter 3 MVC design pattern and Struts application framework 17-31 3.1 design patterns 17 general model 3.2 Web application development 17-19 3.2.1 Model 1 model 18-19 3.2.2 Model 2 model 19 3.3 MVC design pattern structure 19-24 3.3.1 MVC design pattern 19-21 3.3.2 MVC design pattern in J2EE platform application model disadvantages 21-22 3.3.3 MVC design pattern 22-24 3.4 application framework outlined 24-25 3.4 .1 defined framework advantage 24 3.4.2 framework Category 24-25 3.4.3 framework 25 3.5 Struts Introduction 25-27 3.5.1 Struts framework proposed 25-26 3.5.2 Struts advantages 26-27 3.6 Struts architecture 27-30 3.7 Struts basic component package 30-31 Chapter 4 Overview and Hibernate ORM framework 31-45 4.1 object-Oriented applications program persistence layer design issues 31-32 4.2 ORM technology 32-34 4.2.1 ORM About 32 4.2.2 using an ORM advantage 32-33 4.2.3 ORM principles of analysis and features 33-34 4.3 Hibernate Java database access technology with several relatively 34-35 < br /> 4.4 Hibernate architecture 35-39 4.4.1 the overall structure 35-36 4.4.2 Hibernate programming interface 36-39 <br / > 4.5 query mechanism 39-41 4.5.1 query methods 39-40 4.5.2 data acquisition strategies 40-41 4.6 transactions , concurrency and cache 41-45 4.6.1 transaction Processing method 41-42 4.6.2 transaction concurrency control 42-43 4.6.3 caching strategies 43-45 Chapter 5 Renhe mall online shopping system 45-74 5.1 Requirements Analysis 45-49 5.1 .1 system description 46-47 5.1.2 project Background 47 5.1.3 identify roles and use cases to identify 47-49 5.2 system process 49-51 5.3 system function module design 51-53 5.3.1 front sales subsystem 51-52 5.3.2 background information management subsystem 52-53 5.4 database design 53-55 5.5 system Architecture analysis and Design 55-57 5.6 system runtime environment and development tools 57 5.7 Struts application in the system achieve 57-64 5.7.1 presentation layer 57-61 <br / > 5.7.2 Yewuluojiceng 61-63 5.7.3 control processing layer achieve 63-64 5.8 data persistence layer 64-69 < br /> 5.8.1 to establish a database connection pool 64-65 5.8.2 build Hibernate configuration 65-66 5.8.3 Creating a persistent object 66 -67 5.8.4 build CRUD operations to achieve data access class 67-69 5.9 system interface 69-73 5.10 system features 73 -74 Chapter 6 Conclusion 74-75 References 75-77 Thanks 77-78 during the master's degree published papers 78

Related dissertations

  1. Retailers Membership Card Management System Design and Implementation
  2. Design and Implementation of Zhejiang Haoleduo Commercial&Trading Co. Ltd. Human Resource Management System (HRMS)
  3. Research and Implementation of a Human Resource Management System Based on XX Company
  4. Based on B/S Structure of the Logistics Enterprise Management Information the Design of the System
  5. Design and Implementation of Fire Police Dispatch System Based on Java Technology
  6. The Design and Realize of Hotel Capital Asserts Management System Base on the J2EE Platform
  7. Design and Implementation of University Student Employment Information Sharing Platform of Cucn
  8. Design of the Jiujiang Institute of Financemanagement System
  9. Design and Implementation of Intelligent Management System of Assets
  10. B/S Based Online Book System Management Module Design and Implementation
    HuQiaoLing ·Jiangxi Agricultural University, ·2012 ·Master's thesis
  11. Design and Implementation of Grouting-Management Information System Based on Struts and Hibernate
    LiuShuWen ·Tianjin University ·2012 ·Master's thesis
  12. The Design and Implementation of Contingency Plans and Resources Management System for Shijiazhuang City
    GongZuo ·Shandong University ·2013 ·Master's thesis
  13. Research and Design of SSH-based University Equipment Share Management Platform
    YanZePing ·Anhui University ·2013 ·Master's thesis
  14. Design and Implementation of Material Management System
  15. The Design and Implementation of Material Supply Managerment in Fengfeng Group
  16. The Design and Implementation of Housing Rental Information Management System Based on J2EE
  17. The Application of an Improved Access Control Model in Authority Management Module
    HuangYi ·Hunan University ·2010 ·Master's thesis
  18. Design and Implementation of Community Information Service Platform: iHOM
  19. The Design and Implementation of a Management Platform of Service in the Catering Industry Based on SSH2Frame Mode
    MaXuan ·Lanzhou University ·2012 ·Master's thesis
  20. Design and Implementation of Office Automation System for Dongyuan Company