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

Request the full text

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

  1. CORBA-based Workflow Management System Design and Implementation
  2. Research and Realization of Design Pattern for Data-Tier Based on Hibernate
    ZhangShuQuan ·Dalian Maritime University ·2007 ·Master's thesis
  3. Design and Implementation of Software for Children’s Elementary Painting Education Based on iOS
  4. Design and Implementation of Grain Purchase and Sale Management Information System Based on Web Framework
    SunZhong ·Hunan University ·2014 ·Master's thesis
  5. Research on Network System of Information Distribution and Relative Technology Based on Discrete State Predictor
  6. Design of Visual Force
  7. Electricity Transaction Information Platform Design and Implementation
  8. Research on Software Technology in HVDC Transmission Design Software Package
    LiZhiPeng ·Zhejiang University ·2014 ·Master's thesis
  9. Study on the Design Patterns of Park Tourist Centre in Guangdong Region
    WangJunJun ·Guangzhou University ·2013 ·Master's thesis
  10. Design and Implementation of an ATM Bureau of Communication Navigation Surveillance System
  11. A Study on the Furniture of Sichuan Amdo Tibetan
    LuoYi ·Nanchang University ·2013 ·Master's thesis
  12. Fault diagnosis expert system for UAV flight control system design
  13. Sign Language Fusion Platform Based on Software Reuse Technology
    FengLiLi ·Dalian Maritime University ·2013 ·Master's thesis
  14. Design and Initial Realization of Visual Simulation of Multi-uav Ground Station Based on Design Patterns
  15. Design and Implementation of Data Detection System for Industry and Commerce Bureau Based on Data Minding
    ZhengChangLin ·Nanchang University ·2012 ·Master's thesis
  16. The Research and Implementation of a Transmission Software Supporting IPv4 and IPv6
  17. Research on Web-based Incoming Hazardous Goods Declaration System Development and Related Issues
    LiHeng ·Yanshan University ·2012 ·Master's thesis
  18. A Tool for Converting Code File to Pdf with Syntax Highlight
    XueLei ·Dalian University of Technology ·2012 ·Master's thesis
  19. Research on Application of Design Patterns in Uniconr’s Integrated Value-added Service Platform
    LiLingLin ·Hunan University ·2010 ·Master's thesis
  20. Design and Implementation of the Memory Data Management Subsystem for Street Lighting System
    DuWei ·Shandong University ·2013 ·Master's thesis