The Application Research of Framework Based on Spring and Hibernate in Unicom Agriculture Information System
- Author
- WangKe
- Advisor
- LiAnYu
- School
- Southwest Jiaotong University
- Major
- Communication and Information System
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2007
- Downloads
- 203
- Citations
- 1
Abstract
Framework design patterns is important software reuse technology , framework technology reuse to improve the efficiency of software production , almost all will use some sort of framework technology or design pattern in J2EE . How to choose the framework and establish a framework for enterprise applications , while allowing each application layer loosely coupled interaction , which poses a challenge to developers . To solve the above problem , this paper combined with the Web application system development status of the multi - layer architecture , the introduction of the Spring and Hibernate frameworks . Spring is a lightweight J2EE application framework is created to solve enterprise application development complexity ; Hibernate persistence layer framework is an open source , which reduce overall complexity of database development , the system has better performance and portability . And two frames in-depth study and analysis framework for the realization of the principle of a concrete analysis of the role played by the two frameworks in the different levels of Web application , and then integrate the two frameworks , to be able to apply to the application system developed in the framework . The architecture is divided into the presentation layer , business layer and persistence layer three levels , control management by the Spring responsible for the business layer and the presentation layer and the relationship of the underlying data access objects by Hibernate is responsible for data persistence . And Unicom agriculture information platform system is a combination of theory and practice , and discusses in detail the system of specific projects integrate Spring Hibernate framework technology architecture . The development results show that , based on Spring IoC and AOP mechanisms to eliminate the strong invasive EJB business logic , dynamic configuration of software features to achieve the purpose of loosely coupled ; integrates concise Hibernate framework to achieve the O / R mapping function , reduce the complexity of development . The entire system is a platform-independent , and improve the maintainability of the application system , scalability, portability and reusability of components .
Table of contents
Abstract 4-5
Abstract 5-9
first chapter 9-15
1.1 Background 9 <br / > 1.2 frame design related concepts 9-11
1.2.1 Design Patterns 9-10
1.2.2 Framework 10
1.2.3 Architecture 10-11
1.3 Web framework of the current situation and development trend 11-14
1.3.1 J2EE framework technology 11-13
1.3.2 J2EE framework problems 13-14
1.4 thesis work 14-15
Chapter MVC pattern, and Web Application Framework 15-29 <br / > 2.1 MVC design pattern 15-16
2.2 MVC Web framework with section 16-17
2.3 Spring Framework 17-24
2.3.1 lightweight containers Overview 17-18
2.3.2 dependency injection to achieve 18-19
2.3.3 Spring architecture 19-21 <br / > 2.3.4 Spring Bean encapsulation mechanism 21
2.3.5 Spring transaction management mechanisms 21-22
2.3.6 Spring in AOP 22-24 < br /> 2.4 Hibernate Framework 24-28
2.4.1 persistence layer framework outlined 24-25
2.4.2 Hibernate architecture 25-28
2.4.3 Hibernate O / R Mapping 28
2.5 integrates two frameworks superiority 28-29
Chapter Spring Hibernate integration of Web architecture design 29-45
3.1 architecture design goal 29-30
3.2 Spring Hibernate architecture design 30-34
3.3 architecture layers of detailed integration Integrated Design 34-42
3.3.1 Presentation layer integrated design 34-37
3.3.2 business layer integrated design 37-39
3.3.3 persistence layer integrated design 39-42
3.4 new architecture and EJB solutions compare 42-45
Chapter Unicom agricultural information platform for system analysis and design 45 -55
4.1 Project System Overview 45-48
4.1.1 Project System background 45-46
4.1.2 project system hierarchy 46
4.1.3 System Implementation project objectives 46-48
4.2 Project System Functional Analysis 48-49
4.3 project system design 49-55
4.3.1 System process 50
4.3.2 Persistence Layer design 50-51
4.3.3 business layer design 51-52
4.3.4 Presentation Layer Design 52-53
4.3.5 profile design 53-55
Chapter Unicom Agriculture information platform system implementation 55-75
5.1 operating system environment and development tools 55-56
5.2 persistence layer to achieve 56-61
5.2 .1 database table creation 56-57
5.2.2 domain object persistence 57-58
5.2.3 domain objects and database tables mapping configuration file 58-59
5.2.4 persistent class implementation 59-61
5.3 business layer implementation 61-62
5.4 presentation layer to achieve 62-64
5.4.1 control layer to achieve 62-63
5.4.2 Model layer to achieve 63-64
5.4.3 View layer implementation 64
5.5 configuration file ApplicationContext.xml achieve 64-69
5.6 Other problems 69-73
5.6.1 Hibernate does not support complex SQL statements problem solving 69-71
5.6.2 section with AOP interceptor system abnormalities 71-73
5.7 system implementation Summary 73 - 75
Conclusion 75-77
Thanks 77-78
References 78-82
papers published during the master's degree and research 82
Related dissertations
- Based on B/S Structure of the Logistics Enterprise Management Information the Design of the System
- The Research and Application of Web Framework based on Lightweight J2EE
- Retailers Membership Card Management System Design and Implementation
- The Design and Implementation of Data Center Management Platform Based on FLEX Technology
- The Research and Application of the J2EE Developing Platform Based on SSH
- Research and Application Based on SSH2and JBPM for J2EE Develop Platform
- The Research of Java EE Framework and Designed on the E-Commerce Pattern of OAO
- The Design and Realize of Hotel Capital Asserts Management System Base on the J2EE Platform
- Personnel salary management system based on WEB application
- Design and implementation of no warehousing logistics management platform based on SSH
- The Design and Implementation of Vehicle Tracking Management System
- RCP-based Integrated Online Teaching and Management System Design and Implementation
- Design and Implementation of Small Business Human Resource Management Information System
- Design and Implementation of the Logistic and Transportation Management System
- Design and Implementation of University Student Employment Information Sharing Platform of Cucn
- Design and Implementation of the Manufacturing Enterprise OA System Based on SSH2Framework
- Design and Implementation of Personnel Management System
- Design and Implementation of Information Management System Spring Based on MVC
- Design and Implementation of China Three Gorges University OA System Based on SSH
- Design and Implementation of Management Information System of Public Security Bureau of Changsha City