Design and application of J2EE persistence layer framework DR-ORM

Author
DingRui
Advisor
SongBin , ShaAnLi
School
Nanjing University of Technology and Engineering
Major
Computer Science
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2013
Downloads
5
Citations
0

Request the full text

Abstract

The structure of traditional application web framework was divided into three tiers. They are presentation tier, business logic tie, and infrastructure tier. Business logic tier has two responsibilities at the three tiers structure:business logic and data access. Business logic tier get the data which business logic needed according basic database operation. But it takes a Problem that basic logic and database access in integrate compactness. For separating the detail of data access tie from business logic, we can independence the data access tie, so it becomes J2EE five tiers structure.Persistence tier is an important element of J2EE framework. The function of persistence tier is store the data of business state, it accomplish the transfer of application by communicate with other systems. Object-Oriented method nowadays is a main technology in computer software development. In the process of software development by00, relational database is most popular. But it must face a problem that the description of data not consistent when the system base on object model store data from relational database. ORM (object relation mapping) is an effective solution techniques.Based on reading the domestic and overseas literatures, this paper summarizes the research background and significance of the ORM, the domestic and overseas research development, the relative technologies and concepts and so on. By the analysis and comparison of each kind of techniques, characteristic, the research thinking and the technology and method of the realization are put forward. On the basis of dissertating. The theory and implement method of object relation mapping, a J2EE persistence tier framework base on ORM which called DR-ORM, is presented. This paper describes the design methods and design patterns of the DR-ORM, using the DAO design pattern, this framework has the function and mechanisms of object relation mapping, so that software engineer can progress data access in manner of object oriented, and pay no attention at the implement of bottom database, it can greatly improve the efficiency of program development. Finally, the paper implements a BBS system based on DR-ORM framework, and then verifies its feasibility.

Table of contents

Abstract 3-4 Abstract 4-5 catalog 5-7 1 Introduction 7-12 1.1 subject background introducing 7-10 1.1.1 data persistence layer meaning 8 1.1.2 data persistence layer 8-9 1.1 .3 research status 9-10 1.2 The main work 10-11 1.3 thesis structure 11-12 2 ORM framework and the core theory 12-22 2.1 mainstream ORM framework 12-16 2.1.1 ENTITY EJB 14 2.1.2 HIBERNATE 14-15 2.1.3 IBATIS 15-16 2.1.4 TOPLINK core theory 16 2.2 ORM framework designed 16- 22 2.2.1 persistence technology 17 2.2.2 ORM mapping principle 17-18 mapping package nbsp 2.2.3 framework ; 18- 20 2.2.4 framework design patterns 20-22 3 DR-ORM design 22-31 3.1 architecture DR-ORM is 22 3.2 DR-ORM design ideas 22-26 3.2.1 object Management 22-24 3.2.2 session Management 24 3.2.3 transaction Manager 24-25 3.2.4 database connection 25-26 3.3 DR-ORM detailed design 26-31 3.3.1 initialization 26 3.3.2 connection 26-27 3.3.3 affairs 27-28 3.3.4 DAO design 28-29 3.3.5 database operations 29-31 4 DR-ORM -based BBS system design 31-50 <br / > 4.1 BBS system design 32-43 4.1.1 system design 32-33 4.1.2 database design 33-37 4.1.3 connection Pooling 37-42 4.1.4 persistence layer design 42-43 4.2 BBS system function interface 43-50 4.2.1 user module 43-47 4.2.2 administrator module ( admin module ) 47-50 5 summary and Outlook 50-51 Thanks 51-52 references 52-53

Related dissertations

  1. Application and Research of J2EE Design Pattern for Enterprise Information System
    HuaYu ·Zhejiang University of Technology ·2006 ·Master's thesis
  2. The design and implementation of customer - oriented integrated information system
    MengJun ·Shandong University ·2006 ·Master's thesis
  3. Research and Implementation of Lightweight and Reusable Component Technique for Data Persistence
    LiMin ·Southwest Jiaotong University ·2006 ·Master's thesis
  4. Financial software reengineering practices in GTSS
    WuYao ·Zhejiang University ·2006 ·Master's thesis
  5. System based on J2EE design patterns
    ShiNing ·Zhejiang University ·2006 ·Master's thesis
  6. Design and implementation of object-relational mapping hardware encoding
    HuangChenLiang ·Shanghai Normal University ·2005 ·Master's thesis
  7. Discussion of Web Application Development Method Based on J2EE and MVC
    XiongLi ·Wuhan University of Technology ·2002 ·Master's thesis
  8. Research and Application on the J2EE-based Multi-tier Web Framework
    PanBinBin ·Chongqing University ·2008 ·Master's thesis
  9. Research and Design of J2EE Data Persistence Tier Based on ORM
    XuHao ·Dalian Maritime University ·2008 ·Master's thesis
  10. The Design and Realization of Materials Management System for Tobacco Enterprises
    HeJingJing ·Jilin University ·2009 ·Master's thesis
  11. Study on the Java Persistence Layer Design
    JinZuo ·Chang'an University ·2008 ·Master's thesis
  12. Design and Application of Database Operator Schema’s Based on Reflection Technology
    QianGang ·Shanghai Jiaotong University ·2011 ·Master's thesis
  13. Design and Implementation of a Supply Chain System for Manufactural Enterprise
    ZhangZhiYou ·Northeastern University ·2011 ·Master's thesis
  14. Non negative pressure water pump monitoring system design and implementation of SCADA software
  15. Design and Implementation of Dynamic Monitoring System for Budget Enforcement Based on J2EE
    WangZhiJun ·Xiamen University ·2014 ·Master's thesis
  16. Integrated ERP Credit Control System
  17. The Design and Implement of Video Sharing Website Based on Face Tracking
    ZengXuHua ·Sun Yat-sen University ·2012 ·Master's thesis
  18. The Design and Implementation of the Campus Network Management System of Transport Management Institute Ministry
  19. A Design and Development of Operation and Maintenance System for Zhejiang Social Security Center
    HeMingTao ·Zhejiang University of Technology ·2013 ·Master's thesis
  20. Design and Implementation of Huafeng Company Integrated Office System