Optimize Transparence Persistence Store in J2EE Environment and Implements with JDO
- Author
- LiuKe
- Advisor
- YangGuanZhong
- School
- Hunan University
- Major
- Software Engineering
- Classification
- TP312.1 Programming language ALGOL
- Degree
- Master's thesis
- Year
- 2005
- Downloads
- 46
- Citations
- 0
Abstract
Transparent persistence technology is one of the prominent object-oriented technologies, which includes entity beans based on J2EE platform and the third party object-relation mapping tools and JDO. It is problem in enterprise software development how to ensure performance in processing persistence date and maintain legible software architecture in the meantime. For resolving this problem, we study the characteristics of the transparent persistence technologies, and analyze the JDO architecture, life cycle management, API package structure and implementation details of persistence. Moreover, we offer optimized solution about query through transparent persistence technology.To improve the efficiency of query, author realizes that object access tier can be introduced into business tier and persistence tier in three-tier model of persistence implement. This tier introduces two data structures: index object and instance cache, so we can implement query from business tier by interpreting index object as Object ID. Object ID including physical storage information, compared with traversing JDO Object in JDO environment Object, so the method can cut down the time for accessing to disk in case index filter factor is smaller.JDO concerning the potential reduction in efficiency and performance, which results in longer delay, This thesis provide Refsort-loops connection algorithm, which refers cache-relation Object and query relation Object relies on reference sequences after sorting afresh. It can avoid reading the same reference instance and records in the same data block repeatedly. Meanwhile it can convert random reading disk into doing by table. The comparison with the Hash-loops and Probe-loops algorithm, It is proved that it can cut down the time for accessing to disk at expense of caching exterior Object in JDO environment.The concept of JDO implements the mapping between Object model and relation model smoothly, as is significant to improve development efficiency and maintain legible software architecture. This thesis provides a feasible solution to improve transparent persistence performance, based on analysis on JDO and optimization for query technology.
Table of contents
Abstract 8-9
ABSTRACT 9-11
the
illustration index 11-12
the
Schedule index 12-13
Chapter 1 Introduction 13-21
1.1 JDO persistent storage Overview 13-15
1.1.1 Java environment in the limitations of the basic durable storage solution 13-14
1.1.2 object model and the relational model impedance does not match 14
1.1.3 JDO 14-15
Research
1.2 mainstream durable storage solution 15-18
1.2.1 CMP 15-16
1.2.2 object-relational mapping tool 16-17
1.2.3 JDO 17-18
1.2.4 related object connection algorithm 18
1.3 In this paper, the main research contents and innovations 18-20
1.3.1 main content: 18-19
1.3.2 papers innovations 19-20
1.4 of this article organizational structure 20
1.5 Summary 20-21
Chapter 2 J2EE environment persistent storage technology 21-32
2.1 persistent storage 21-24
2.1.1 transparent persistence 21-22
2.1.2 object-relational mapping 22-24
2.2 basic persistence to achieve technology 24-28
2.2.1 the serialization (serialization) 24-25
2.2.2 JDBC 25-28
2.3 J2EE environment transparent persistence technology analysis and compare 28-32
2.3.1 session bean and JDBC 28-29
2.3.2 Entity Bean persistence 29-30
2.3.3 JDO 30-32
Chapter 3 JDO technical analysis 32-47
3.1-JDO running environment 32-34
3.1.1 non-management environment 32
3.1.2 management environment 32-33
Comparison between both
3.1.3 use environment 33-34
3.2 JDO architecture 34-36
3.2.1 Typical architecture model 34-36
3.3 JDO lifecycle states 36-41
3.3.1 lifecycle state overview 36-37
3.3.2 seven kinds lifecycle The state 37-38
3.3.3 lifecycle state conversion 38-41
3.4 JDO API 41-44
3.4.1 javax. the jdo package structure 41-43
3.4.2 javax. jdo package 43-44
3.4.3 javax. jdo. spi package 44
3.5 JDO development process 44-47
3.5.1 create persistent classes 44-45
3.5.2 JDO descriptor 45
3.5.3 lasting instance 45-47
4 Object Access layer 47-60
4.1 JDO environment object query 47-49
4.1.1 object traversal 47-48
4.1.2 JDOQL 48-49
Design and Implementation
4.2 object access layer 49-54
the
the 4.2.1 object access layer architecture 49-50
4.2.2 index object 50-53
4.2.3 instance cache 53-54
4.3 based on the implementation of the JDO 54-57
4.3.1 index class (Index) 54-55
4.3.2 instance cache (InstanceBuffer) 55-56
4.3.3 business layer query 56-57
4.4 Performance Analysis 57-60
Chapter 5 related objects Refsort-loops join algorithm 60-71
5.1 concatenation basic problem described 60-62
5.1.1 references 60
5.1.2 associated object navigation connection 60-62
5.2 Refsort-loops algorithm 62-65
5.2.1 Refsort-loops algorithm described 62-64
5.2.2 Hash-loops algorithm 64
5.2.3 Probe-loops algorithm 64-65
5.3 Refsort-loops algorithm implemented in JDO 65-68
5.3.1 the Join class 65-66
5.3.2 decimation meet the conditions of the outer object 66-67
5.3.3 Sort references 67
5.3.4 connection reference object and outer object 67-68
5.4 performance analysis and comparison 68-71
concluded 71-72
the
References 72-76
Acknowledgements 76-77
papers published in Appendix A degree 77-78
the
involved in major projects in Appendix B degree during 78
Related dissertations
- Research on Fiscal Expenditure Performance Evaluation of Dongying City
- Study on the evaluation index system of audit of enterprise internal control in our country
- Research on Construction of Integrated Evaluation System of China Private Equity Fund Manager
- The Research Based on the Balanced Scorecard in the Performance Appraisal System of LM Company
- Research on Urban Public Transport Services Evaluation System
- The Designment on Fuel Management Department Performance Index of Ningxai Datang International Daba Power Generation CO., LTD
- Research and Design of Performance Appraisal System of Inner Mongolia a Fuel Company
- Research on the Risk Early-warning Management Mechanism of International Engineering Projects
- Evaluation of the level of integration of urban and rural logistics development in Shanxi
- Study on the Establishment and Verification for Hunan Food Safety Index
- Research on Intrusion Detection Technology Based on Mutual Information and KNN
- Research on Index Technology of String Approximate Query
- Design and Implementation of Full-text Retrieval System Based on Lucene
- The Establishment of Intelligent Search Engine Platform in Enterprise
- Research on the Index and Queries of Moving Objects
- Research on Large-scale Unstructured Data Processing of Index and Visualization
- The Research of Data Warehouse Performance Optimization Technology Based on the Coupling Index and Materialized View
- Storing Large Scale Semi-structured and Unstructured Data on RDBMS
- Design and implementation of e-mail monitoring system based on Linux
- Analysis and Design of the System of Tax Analysis Reporting Query