Design and Implementation of Object-relational Mapping Freamework for Hybrid Data Store

Author
ChenCheng
Advisor
ZhanDeChen
School
Harbin Institute of Technology
Major
Software Engineering
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2012
Downloads
17
Citations
0

Request the full text

Abstract

With the enterprise application becomes more and more complex, the requestchanges faster and faster, the data model becomes more and more diverse,developing applications with relational databases becomes so hard to handle suchchallenge. With the improving of cloud computing and non-relational databases,more and more applictions want to be developed based on non-realitional databases.But this will cause migrating of exist applications and maintainence challenges ofnew applications.How to transparently deal with the data persitence operations based onrelational databases and non-relational databases is the key problem. This studyfirstly analyses the data model and persistence characteristics of non-relationaldatabase Cassandra. Then, combining with existing mature ORM frameworks(Hibernate, iBatis, JPA, TopLink), desgin and implement an object-relationalmapping framework for hybrid storage.The main job of the study is to desgin and to implement an object-relationalmapping framework based on non-relational database, through the object-relationalmapping ideas and encapsulate the non-relational database persistence operations.Then, on this basis, combined with the already mature Hibernate framework, makingthe entire framework able to support the operation of the hybrid storage. Finally, inorder to improve the performance of applications based on the object-relationalmapping framework in the special environment that the SaaS applications use, usedistributed cache Memcached as an ORM framework global L2cache, dispersed oneach server’s idle memory resources to cache the query results of the applications, toimprove the performance of the SaaS application instances.This study also conductes a series of functions and performance testings on theobject-relational framework which is based on hybrid data store. Functional testingis based on equivalence classes testing methodology, the study desgins26caseswhich object-relational JPA standards may deal with, and the entire frameworkworks properly with all the cases. Performance test results indicate that the querybased on the ORM framework using a global cache can get better performance,when it comes to persistence operations for a large number of objects, it’s suitable touse the bulk operations of database directly.This study gives a viable way to achieve object-relational mapping frameworkbased on non-relational databases, and reduce the differences between relationaldatabases and non-relational databases when use them, and let the application’sbusiness logic can be achieved through a unified interface to application developers. This study also reduces the development and maintenance costs of the applicationswhich based on non-relational databases, and facilitate the existing relationaldatabase-based applications migrate to non-relational database-based applications.

Related dissertations

  1. Non negative pressure water pump monitoring system design and implementation of SCADA software
  2. Design and application of J2EE persistence layer framework DR-ORM
  3. The Design and Development of Shaanxi Primary and Secondary School Teachers Training Management System
  4. Object/Relation Mapping Based on XML in Printing Information Management System
  5. Design and Implementation of the Online Net Police System Based on SSH
    ZhuQiang ·Xiamen University ·2014 ·Master's thesis
  6. The Design and Implementation of Common Logic Layer’s REST API for Virtual Community
    ShenFei ·Nanjing University ·2012 ·Master's thesis
  7. The development of Citigroup data service system based on the distributed cache
    ZhangKeChen ·Fudan University ·2012 ·Master's thesis
  8. The database object based on.Net access development framework and Application
    ZhangCheng ·Fudan University ·2011 ·Master's thesis
  9. Analysis and Research of Synergic Office Automation System Based on Hospital
    YangGe ·Jilin University ·2012 ·Master's thesis
  10. Application and Study of Ssh Frame Techlology in the Supermarket Management System
    HeYanFang ·Hunan University ·2011 ·Master's thesis
  11. Administrative Law Enforcement Performance File System Design and Implementation
    ChenXiuZuo ·Shandong University ·2012 ·Master's thesis
  12. Design and Implementation of ORM Tool’s Interface Based on Java Technology
    HuangZuo ·Jilin University ·2012 ·Master's thesis
  13. Desing and Implementation of Characteristic Resource Library System of Bift
  14. Design and implementation of content management system in financial industry
  15. Django Based Design and Implementation of Automated Testing Tool
  16. Research and Implementation of Work-content-driven Distributed Cache System
    ZhangTangHua ·Dalian Maritime University ·2013 ·Master's thesis
  17. Design and Implementation of Emergency Plan Generation System
  18. Design and Implementation of Micro-Blogging Website
  19. Research of Data Exchange Based on XML for Heterogeneous Data
    LiHua ·Xi'an Technological University ·2012 ·Master's thesis
  20. Research on Cluster Oriented Distributed Cache Mechanism
    DanZhongYuan ·Northeastern University ·2010 ·Master's thesis