Building XML Based Two Tiers Data Access Middleware by Design Pattern
- Author
- LuoLiJuan
- Advisor
- LiuQiChao , XueWeiLin
- School
- Sichuan University
- Major
- Software Engineering
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2004
- Downloads
- 175
- Citations
- 3
Abstract
Change in this era of knowledge economy , Internet rapid development of network heterogeneity ( different hardware platforms , different operating systems , different database systems ) have become increasingly prominent . To solve this problem , it is proposed middleware technology , shield many underlying tedious things in a friendly way , so that people focus on the business logic to improve development productivity and code reuse rate . The research results of the paper include: 1 . Design of a two-layer structure of the data access . The first layer is the middle layer between the data access layer between the user and organizational data and call data access middleware . The second layer is the data access in the middle layer is the same database interaction . 2 . In the design of the first layer , the masked data access middleware processing of the returned data , encoding of the foreground becomes very simple , and highly portable code . 3 . Design data access middleware , based on the concept of design patterns , several flexible access to the data layer mode . Were compared for their possibility pointed out the role of each class , the mutual relationship , and how this class extensions, scalability , and finally focused on the mode of screening a strong adaptive mode . 4 . In order to reduce the number of interactions in the same database and waiting times , using a stored procedure to the database operation, input and output parameters to pass through an XML string , to achieve a higher efficiency . Structurally, this study draws on the concepts and methods of the structural model , the use of the XML parser high processing efficiency , and to improve the traditional middleware technology , the development of middleware technology offers a solution .
Table of contents
1 Introduction 7-10
1.1 Background 7-8
1.2 significance 8-9
1.3 Research Methods 9
1.4 of content and process 9-10
2.XML technology 10-22
2.1 XHL before 10-16
2.1 .1 What is XML 10-11
2.1.2 Why use XML 11-12
2.1.3 How to use XML 12-14
2.1.4 XML and its related agreements 14-15
2.1.5 XML prospects 15-16
2.2 XML application 16-20 <br / > 2.2.1 description of the data 16-17
2.2.2 Data access 17-18
2.2.3 Application Programming Interface 18-19 < br /> 2.2.4 data serialization 19-20
2.3 XML applications and beyond the limits of the programming interface 20-22
2.3.1 Status 20-21
2.3.2 XML component model 21-22
3. middleware and component technology 22-36
3.1 middleware technology introduction 22-32
3.1.1 middleware technologies used to produce background 22-23
3.1.2 What is the middleware 23-25 ??
3.1.3 middle parts classification 25-29
3.1.4 middleware evolution 29
3.1.5 middleware to solve any problems 29-30
3.1.6 component reuse significance 30-31
3.1.7 Middleware problems 31-32
3.2 component technology 32-35 <br / > 3.2.1 The basic idea of ??component technology 32-33
3.2.2 component basis for their existence - Middleware 33-34
3.2.3 software reuse 34
3.2.4 The role of middleware components thoughts 34-35
3.3 Summary 35-36
4. design patterns 36-44
4.1 design patterns concept 36-37
4.2 basic design patterns 37-39
4.2.1 creation mode 37
4.2 .2 structural model 37-38
4.2.3 behavior patterns 38-39
4.3 non-object-oriented solutions 39-41
4.4 Factory Method pattern 41-42
4.4.1 Definition: 41
4.4.2 Conditions of Use 41
4.4.3 Structure 41-42
4.5 Abstract Factory pattern 42-43
4.5.1 Definition 42
4.5.2 Conditions of Use 42
4.5 .3 structure 42-43
4.6 Singleton pattern 43-44
4.6.1 Definition 43
4.6.2 Conditions of Use 43
4.6.3 Structure 43-44
5. use design patterns to build XML-based database access middleware layer 44-63
5.1 common data layer access methods 44-46
5.2 flexible data access framework 46-62
5.2.1.NET data provider 46
5.2. two design goals of 46-47
5.2.3 middleware needs analysis 47-49
5.2.4 Factory Method pattern analysis 49-50 <br / > 5.2.5 Abstract Factory pattern analysis 50-52
5.2.6 build data access middleware 52-58
5.2.7 build web-side data access component 58-61
5.2.8 middleware application 61-62
5.3 Summary 62-63
6. Conclusions 63-64 < br /> References 64-66
statement 66-67
Thanks 67
Related dissertations
- Design and Development of Distributed Control System Based on CORBA
- Research of XML Schema-Based Optimization for Middleware of Heterogeneous Database
- Study and Application of Heterogeneous Data Fusion Middleware
- Research on the Data Integration Technology for Massive RFID Data Based on RFID Middleware and the Application in Decision Analysis of Modern Logistics
- The Integrated Design and Realization of Heterogeneous Database for Office Information System Based on XML
- Research on Active Safety Model and Middleware in Vehicular Ad-hoc Networks
- Research and development of Web-based database systems of rare earth compounds
- The Design and Implementation of mine positioning monitoring system based on the ACE-RFID Middleware
- Research of Data Access Layer Based on Database Dictionary
- Complexity Research of Innovation Subject Base on System Science
- The Study of Intelligent Warehouse System Based on the Internet of Things
- Applied Research of the Oligopoly Game Model in Insurance Market
- Fault Detection Mechanism in the Cloud Environment
- Design and development of Suzhou metro line two station terminal equipment monitoring system
- Research on Adaptive Three-dimensional Measurement Method and Reconstruction Using Multi-line Structured Light
- Sliding Mode Control of Uncertain Systems in Case of Actuator Failures
- Research on Information Fusion Technology in Internet of Things for Context Awareness in Shmart Home
- The Improved Genetic Algorithm Based on Cloud Model Research
- Study on Improving Cellular Multi-objective Genetic Algorithm and Its Application in the Engineering Optimization
- Synchronization Analysis of a Class of Complex Biological Neural Network