Research and Implementation of a Java - based database access engine
- Author
- ZhangBo
- Advisor
- WangJi
- School
- Central South University
- Major
- Applied Computer Technology
- Classification
- TP311.13 Database theory and systems
- Degree
- Master's thesis
- Year
- 2007
- Downloads
- 237
- Citations
- 1
Abstract
Java have many kinds of data accessing technologies, but data accessing technologies and code mapping is adopted in all the existing mappings between data base accessing and Java object. This mapping means that if the database form changed, the code also need to be changed, which is inconvenient for modifying and upgrading.This paper mainly works over the problems in Java database accessing, probes into the existing technologies, particularly expounds the advantages, disadvantages, adaptabilities and capabilities of each technology, introduces database accessing engine (DAE) which developed from the former technologies based on Java.The paper describes the function, structure,principle and code realization of DAE in detail. The advantages of this system are embodied through vadidating of several examples and contrasting with the traditional ones.DAE based on Java uses object / relation mapping technology, namely uses XML to describe database object mode, and dynamic mapping is shaped through XML and form. Mapping is realized by the functioning Java. In this way, the database model is separated from the code, so even the database changes, we only have to modify the database model description.Meanwhile, the disadvantdges in mapping between database accessing and Java direct code will be overcome. In terms of operating database, object-faced technique is used. SQL is grouped in object-faced way, and its operating interface is reserved. The work is lightened without having to be familiar with the new tools.
Table of contents
Abstract 3-4
ABSTRACT 4-8
The first chapter 8-15
1.1 Background 8
1.2 Research 8-9
1.3 goals this topic 9
1.4 Technical Background 9-14
1.4.1 object / relational mapping technology 10-11
1.4.2 XML technology 11-13
1.4.3 Java overview 13
1.4.4 Database Overview 13-14
1.5 thesis is organized 14-15
Chapter Java environment data access 15-23
2.1 data access method types 15-16
2.1.1 Direct code embedded 15
2.1.2 Data Class 15
2.1.3 persistence layer 15-16
2.2 relational model and object-oriented model does not match 16
2.3 Java present several data access technologies 16-22
2.3.1 JDBC direct access to the database 16-19
2.3.2 JDO 19-20
2.3.3 Hibernate 20-21
2.3.4 entity bean 21-22
2.4 Summary 22-23
Chapter DAE research and design 23-35
3.1 DAE design ideas 23
3.2 DAE architecture 23-24
3.3 DAE architecture 24-29
3.3.1 system functions 25-26
3.3.2 DAE core class design 26-29
3.4 DAE principle 29-31
3.5 DAE design patterns used in 31-33
3.5.1 separation of interface and implementation model 31-32
3.5.2 factory mode 32-33
3.6 software environment 33-34
3.7 This chapter summarizes 34-35
Chapter DAE realization 35-50
4.1 DAE object / relational mapping 35-41
4.1.1 XML description file generation module design 36-37
4.1.2 XML description file generation module HMI 37-41
4.2 interface for data access using DAE realization 41-47
4.2.1 add a single record 42-43
4.2.2 delete a single record 43-44
4.2.3 paging query multiple records 44-47
4.3 Performance testing and data 47-49
4.3.1 Experimental environment and content 47
4.3.2 experimental data and analysis 47-49
4.4 Summary 49-50
Chapter Summary and Outlook 50-52
5.1 This article summarizes 50
5.2 Job Outlook 50-52
References 52-56
Appendix 56-74
1 DBA package 56-61
2 DBT package 61-64
3 MGR package 64-65
4 Page package 65-67
5 SQL package 67-74
Thanks 74-75
pursue a degree during the main research 75
Related dissertations
- Research and Implenmentation on a Mobile Maintenance System for IC Card Flow Meters
- Tax Registration System Research and Design Based on Struts Framework
- Design and Implementation of Web-based Management Platform for Examinations
- Study on Heterogeneous Database Special Middleware Based on the Framework of Lightweight J2EE
- Design and Implementation of J2EE Based Automation Testing Tool
- Object/Relational Mapping and Its Implementation in Java Environment
- The Design and the Realization of the Labor Force Sub-system of Haidian Labor Social Security Platform
- Design and Realization of Producing Management System on Basis of Struts and Hibernate
- The Research of the Software Architecture about the EAM Which Base on J2EE
- The Design and Implementation of an Object Persistence Framework and Auxiliary Development Tools Based on O/R Mapping
- Researching & Development of General System of Surveying Online
- Research on the Development of Data Driven Application and Design of the Automatic Code Generating Tools
- Research and Application of Multilayer Truss Based on Struts and Hibernate
- Optimize Transparence Persistence Store in J2EE Environment and Implements with JDO
- Research and Design of the Lightweight Web Famework Based on the Spring
- Textile Product Lifecycle Management
- Research and Implementation of J2EE-Based Data Access Middleware
- The Core Technology Research and Application of Knowledge Repository Base on Object/Rational Mapping
- The Online Examination System Based on J2EE
- The Organization Coding Management System Based on J2EE Technology