Research and Implementation of the framework based on distributed data access

Author
WangJianLin
Advisor
PanYinRong
School
East China Normal University
Major
Software Engineering
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2006
Downloads
173
Citations
1

Request the full text

Abstract

With the extensive application of computer technology, software size is growing more and more diverse, business data processing, and more complex. The J2EE technology becoming mainstream platform for large-scale software development, it provides data persistence mechanism has become a standard J2EE software data persistence to obtain a wide range of applications. Today, heterogeneous multi-database application needs and the migration database applications demand must solve the problem, and on this basis to improve the design of the database application architecture accounted for the important status of the software system has also become a major research direction of the software system design a. However, a large number of complex data requires a uniform, efficient way to manage. Mature in J2EE persistence mechanism for the lack of balance between efficiency and the development of efficient, also did not give a unified, simple data management. In this paper, the research data access (DAO) mode and object-relational mapping (O / R Mapping), detailed analysis JDBC, Entity Bean, JDO (Java Data Objects) and object / relational mapping tool advantages and disadvantages of the distributed data access the framework concept. The framework for a variety of applications to provide unified data access interface, internal use JDBC transparent access to most of the heterogeneous to design and develop a common access a variety of heterogeneous database data access framework ((General Data Access GDA). database. article looks at the class and its instance of the object system and relational database SQL mapping, and simplifies the use of JDBC, and hide some of the data in the target database access operation. article also discusses enterprise applications log strategy, well logs strategy can help to diagnose the problem this paper through the analysis of all aspects of enterprise development, design their own log module. transaction: first analysis of J2EE transaction model, and then designed based on an analysis conclusion transaction processing module of the the GDA distributed data access framework in order to simplify the transaction processing module design difficulty, this paper also introduces the aspect-oriented programming (AOP), to handle the problem of data access framework affairs. transaction isolation level to reduce the added lock the impact of the application throughput paper to pass the test, this paper the design and development of distributed data access framework GDA compared with JDBC little performance, but the GDA data access framework to improve the development efficiency and reduce maintenance cost, therefore GDA is a relatively successful distribution of the number of data access framework of design and achieve the GDA data access framework is mainly engaged in the work as follows: 1) analysis of the advantages and disadvantages of the currently popular data access framework. 2) is responsible for the overall design of the the GDA data access framework. 3) SqlMapping module logging module and OID generator. 4) designed and implemented a transaction processing module of the GDA. 5) test plan design the GDA data access framework. At the end of this article, distributed data access framework further research directions and issues to be resolved.

Table of contents

Abstract 3-4 Abstract 4-5 directory 5-7 first chapter 7-9 topic 1.1 Background and Significance 7 1.2 domestic and international developments 1.3 This paper studies the target 7-8 1.4 papers arrangement 8-9 Chapter II data persistence layer 9-24 2.1 persistence layer of the introduction 9-11 2.1.1 layered architecture 9-10 the 2.1.2 Design lasting layer of 10-11 2.2 persistence layer there 11-13 2.3 present the advantages and disadvantages of the popular persistence layer solution 13-18 2.4 the GDA data access framework envisaged 18-24 2.4.1 the DAO mode 19-22 2.4.2 This article DAO mode improved 22-24 Chapter distributed data access framework GDA Design and Implementation 24-44 3.1 distributed data access framework of the overall design 24-25 3.2 user interface module design 25-29 3.3 SqlMapping module design and realization 29-33 3.3.1 SqlMapping mapping file 29-32 3.3.2 SQL object mapping 32-33 3.4 SQLOperation design 33 Design and Implementation of the 3.5 object ID generator 33-37 the 3.5.1 Object ID generator design 34-35 3.5.2 OID concrete realization 35-37 the the 3.6 log module design and realization 37-43 3.6.1 log module design 38-41 3.6.2 through aspect-oriented programming (AOP) to achieve the logging module 41-43 3.7 section 43-44 Chapter realization of the key technologies - transaction 44-56 4.1 Transaction Summary 44-46 4.2 Distributed Transaction 46-49 4.3 J2EE transaction 49-51 4.4 based on the realization of the transaction processing module the GDA data access framework 51-55 4.4.1 transaction processing framework design 51 4.4.2 Transaction Interface Design 51-52 4.4.3 using aspect-oriented programming (AOP) the transaction module 52-54 4.4.4 transaction isolation level set 54-55 4.5 of section 55-56 Chapter test 56-59 5.1 test environment 56 5.2 using the JUnit testing framework to test 56-58 the framework of the performance of the 5.3 GDA data access analysis 58-59 Chapter Summary and Outlook 59-61 6.1 summarizes 59 6.2 Looking 59-61 the References 61-63 Acknowledgements 63

Related dissertations

  1. Design and Application of Management & Control System on Thermal Power Plants
    OuYangJun ·Southeast University ·2006 ·Master's thesis
  2. Data Mining Technology in Logistics Distribution System
    LiuNing ·Jilin University ·2010 ·Master's thesis
  3. Design and development of Suzhou metro line two station terminal equipment monitoring system
  4. Research on Duplication Location Strategies in the Mobile Computing System
    YangYang ·Harbin Engineering University ·2013 ·Master's thesis
  5. Research on Semantic Correctness Oriented Integrated Data Access
  6. The Design and Implementation of the Investment Plan Management System Based on ASP.NET in Huozhou Coal Group
    YangLi ·Hebei University of Engineering ·2013 ·Master's thesis
  7. Design and Implementation of Uniform Interface Platform System on AOP/IoC in the Telecommunications Industry
  8. Database Development of Computer Room Intelligent Monitoring and Management System
  9. Research of OPC DA Server Based on Modbus/TCP
    WangZhan ·Donghua University ·2013 ·Master's thesis
  10. Research and Implementation of OPC Data Access Technology Based on C/S Structure
    RaoKeKe ·Lanzhou Jiaotong University ·2012 ·Master's thesis
  11. Design and Implementation of OPC DA Server in Semi-physical Simulation System
  12. The Research on Strategies of Parallel Accessing Seismic Data
    ZhaoMan ·Northeast University of Petroleum ·2013 ·Master's thesis
  13. Research on Data Access Service Model Based on Data Center
    XiaoHongFeng ·Northeast University of Petroleum ·2012 ·Master's thesis
  14. Automatic Translation from Name-based Pointcuts to Analysis-based Pointcuts for Robust Aspects
    WangLin ·Tianjin University ·2012 ·Master's thesis
  15. Research on Methods for Generating AOP Test Cases Based on Predicate Dynamic Slicing
    WangBo ·Zhengzhou University ·2012 ·Master's thesis
  16. The Implementation and Optimization of DiSL Weaver
    ZhengYuDi ·Shanghai Jiaotong University ·2013 ·Master's thesis
  17. Design and Development on Scheduling System Software Platform for Steelmaking&Continuous Casting
    ZhangZuo ·Northeastern University ·2009 ·Master's thesis
  18. Aspect-oriented Programming-based Unit Test Effectiveness Detection System
  19. The Design and Implementation of Telecommunication Performance Management System
    ZhuangQun ·Shandong University ·2013 ·Master's thesis
  20. Software Fault Localization Research Based on Program Semantics
    HeGuoQin ·Hunan University ·2011 ·Master's thesis