Design and Implementation of J2EE Persistence Tier Based on ORM
- Author
- ZhouYun
- Advisor
- YuQingSong
- School
- East China Normal University
- Major
- Computer Applications
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2007
- Downloads
- 118
- Citations
- 2
Abstract
Traditional Web applications can be roughly divided into simple three layers: the presentation layer, business layer and data layer. Framework does not appear before the Web application development process is generally more confusing, mixed with a variety of code. Earlier well-known J2EE framework has had a profound influence on the development of Web applications. Although its complexity and portability programmers criticized, but it is designed to thinking he was a complete heritage down. The various Framework subsequently for some practical problems, combined with the J2EE design ideas a pretty good solution. Struts solve the problem of the presentation layer and business layer code specifications and design. Spring to solve the problem of the management of business entities and data entities. Hibernate implements ORM, to solve the business entity which database efficient memory access problems. The persistence layer makes the orderly operation of the database in J2EE projects. There are now many mature persistence layer, which undoubtedly the reputation largest Hibernate. Based ORM persistence layer solution can be more perfect to solve a lot of problems. It not only provides a call interface of the object-oriented, but also a new database with the object of combining software design. In common operations Hibernate also done a lot of optimization. This makes the software's performance has been greatly improved. But for those small and medium-sized projects, Hibernate somewhat. Need some simple support of small and medium-sized projects, such as object-oriented interface and simple performance optimization. Based on this, the authors attempt, according to the basic principles of the ORM project experience combined with the author's design and implement a simple J2EE persistence layer ORM-SDA (Simple Data Architecture)-based. SDA based on the the ORM principle design, to provide a simple object-oriented interface and simple performance optimization as a design goal. SDA's small, but provides a core feature set. SDA is a simple, flexible persistence layer for small and medium-scale projects. Small and medium-sized projects can be directly imported as part of the project, the SDA can also be embedded in other frameworks. The SDA main design and implementation process is divided into: feasibility verification, outline design, detailed design and code implementation. The paper first describes the the J2EE and ORM basic principle proposed SDA dependent theoretical basis as well as the design principles of the SDA and SDA verify the feasibility of the principles and programs; followed by paper elaborates the the SDA design and implementation process; final adoption The typical application cases to verify the correctness and validity of the SDA. The paper design and realization of the basic functions of the SDA, and pointed out that further work needed to improve the SDA.
Table of contents
Abstract 7-8
Abstract 8-12
first chapter 12-15
1.1 Background and Objective 12 - 13
1.2 thesis main content 13-14
1.3 Thesis Organization 14-15
Chapter J2EE and theoretical study of ORM 15-25
2.1 Analysis of the strengths and weaknesses of J2EE architecture 15-17
2.2 ORM principles 17-19
2.3 Hibernate scope 19-20
2.4 Hibernate configuration analysis 20-22
2.5 Hibernate inadequacies 22-24
2.6 Summary 24 - 25
Chapter ORM-based J2EE persistence layer design 25-43
3.1 ORM-based persistence layer design theory and proof 25-26
3.2 SDA design principles and feasibility 26-30
3.3 ORM-based persistence layer J2EE Design Overview 30-35
3.4 ORM-based persistence layer functional analysis 35-37
3.5 ORM-based J2EE persistence layer overall design 37-40
3.6 ORM-based persistence layer detailed design 40-43
fourth Chapter ORM-based J2EE persistence layer to achieve 43-62
4.1 system development platform 43
4.2 basic modular unit to achieve 43-54
4.3 central control unit to achieve 54-59
4.4 configuration file can 59-60
4.5 Coordination and integration of the various modules 60-61
4.6 implementation code package 61
4.7 Summary 61-62
Chapter ORM-based persistence layer of J2EE applications and verify 62-69
5.1 ORM-based persistence layer using the J2EE environment needed and restrictions 62
5.2 ORM-based persistence layer of J2EE applications and verify 62-68
5.3 ORM-based J2EE persistence layer using the results of comparative analysis 68
5.4 Summary 68-69
Chapter Summary and Outlook 69-72
6.1 Summary 69
6.2 The main work and contributions 69-70
6.3 Outlook and further work 70-72
Appendix Ⅰ entity domain objects persistent mode 72-74
Appendix Ⅱ Java language RTTI mechanism 74-75
References 75-77
Thanks 77
Related dissertations
- CORBA-based Workflow Management System Design and Implementation
- Research and Realization of Design Pattern for Data-Tier Based on Hibernate
- Design and Implementation of Software for Children’s Elementary Painting Education Based on iOS
- Design and Implementation of Grain Purchase and Sale Management Information System Based on Web Framework
- Research on Network System of Information Distribution and Relative Technology Based on Discrete State Predictor
- Design of Visual Force
- Electricity Transaction Information Platform Design and Implementation
- Research on Software Technology in HVDC Transmission Design Software Package
- Study on the Design Patterns of Park Tourist Centre in Guangdong Region
- Design and Implementation of an ATM Bureau of Communication Navigation Surveillance System
- A Study on the Furniture of Sichuan Amdo Tibetan
- Fault diagnosis expert system for UAV flight control system design
- Sign Language Fusion Platform Based on Software Reuse Technology
- Design and Initial Realization of Visual Simulation of Multi-uav Ground Station Based on Design Patterns
- Design and Implementation of Data Detection System for Industry and Commerce Bureau Based on Data Minding
- The Research and Implementation of a Transmission Software Supporting IPv4 and IPv6
- Research on Web-based Incoming Hazardous Goods Declaration System Development and Related Issues
- A Tool for Converting Code File to Pdf with Syntax Highlight
- Research on Application of Design Patterns in Uniconr’s Integrated Value-added Service Platform
- Design and Implementation of the Memory Data Management Subsystem for Street Lighting System