The Study of Persistence Layer in N-tier B/S Architecture Based System
- Author
- ZhuHong
- Advisor
- SuHongYe , ZuoJian
- School
- Zhejiang University
- Major
- Control Theory and Control Engineering
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2002
- Downloads
- 112
- Citations
- 9
- Object identifier
- Object mapping
- relational database
- Persistence layer
- n-tier B / S architecture
- J2EE
- XML
- Template
Abstract
In the modern enterprise integrated information process, the need to build enterprise information management system at all levels, these systems should be adapted to the needs of modern applications. With the extensive application of the Internet, corporate networks will become a part of the Internet, client / server computing systems coming to an end. Client / server computing system times the software installed on each machine, but this is unrealistic, multi-layer B / S structure will be replaced. The realization of these information systems are often inseparable from the relational database support, multi-layer B / S structure system Persistence layer to solve the problem of data access and relational database design, the upper layer to provide a unified data access interface, so Persistence layer implementation is often key. Based on ODBC and JDBC direct access method is not common in the design, the development of low efficiency, costly maintenance, lack of high-availability unified approach. Article focuses on object the mapped relational database model way of thinking and the use of relational database which frequently asked questions and the corresponding solutions, and use Java technology based on the design ideas Persistence layer programming framework (the DBObject Mapping Framework), and finally with reality work on the project, how the technology combined with Template and XML technology in the powerful J2EE enterprise application framework in the framework of multi-layer B / S structure of the enterprise information system. Integrated enterprise information construction process in the use of this technology can greatly improve the efficiency and stability of the system development, and easy to extend and maintain. The main results of this paper in the actual development of the system has made a large number of applications. The main work of this paper are summarized as follows: 1. Through a detailed analysis of the study, the proposed multi-layer B / S architecture and J2EE technology architecture of the advanced technology of the modern enterprise information systems. Traditional C / S architecture technology will be eliminated. Discussed the advantages of J2EE enterprise applications on and from multiple angles. 2. The object mapping relational database design ideas to solve the mismatch of object-oriented programming and relational databases. Depth analysis of the number of issues, the key technologies of object identification symbol, object mapping relational database and relational database design in-depth discussion of a the Persistence layer of design thinking. 3. Java technology to achieve the J2EE specification for Persistence layer programming framework-the DBO Mapping Framework, and successfully applied to the actual development of the project. 4. Persistence layer in the development of applications and how to combine the use of templates and XML technology in the development of the multi-layer B / S system. Finally, in the concluding remarks on the basis of, made a number of pending further research and exploration.
Table of contents
Chapter 1 Introduction and Overview 8-20
1.1 enterprise information technology status and development overview 8-9
1.2 enterprise information systems architecture technology 9-19
1.2.1 multi-layer B / S architecture Technical Overview 9-13
1.2.2 J2EE Technology Overview 13-19
1.3 This research ideas and structure 19
1.4 Summary 19-20
Chapter 2 Unified Object Identifier 20-26 < br /> 2.1 OID meaning 20
2.2 OID uniqueness 20-21
2.3 OID assignment strategy 21-25
2.3.1 maximum value in an integer column 22
2.3.2 to use and maintain key table 22
2.3.3 GUIDs or UUIDs method 22
2.3.4 Dependency database product functionality provided 22-23
2.3.5 HIGH / LOW method 23 -25
2.4 Summary 25-26
Chapter 3 objects to relational database mapping method 26-32
3.1 object attribute types mapped column type 26-28
3.2 object attributes mapped to columns 28
3.3 objects mapped to tables 28-31
3. 3.1 in a relational database implementation inheritance 28-31
3.4 Summary 31-32
Chapter 4 object-relational to relational database mapping method 32-35
4.1 association and aggregation / composition distinction between 32
4.2 relational database implementation class relationships between 32-34 <br / > 4.3 Summary 34-35
Chapter 5 Data referential integrity constraint checking and relationships 35-42
5.1 The relationship between an object and parent table operation constraints 35-39
5.2 sub-table operation constraints 39-40
5.3 Summary 40-42
Chapter 6 relational databases commonly used technical analysis 42-45
6.1 index (INDICES) 42
6.2 Stored Procedures (STORED PROCEDURES) 42-43
6.3 Trigger (TRIGGERS) 43
6.4 meter fixed field 43-44
6.5 database design naming 44 < br /> 6.6 Summary 44-45
Chapter 7 PERSISTENCE layer is designed to achieve 45-54
7.1 JDBC Technical Overview 46-47
7.2 database connection pooling application 47-49
7.3 design DBOBJECT MAPPING FRAMEWORK 49-53
7.4 Summary 53 - 54
Chapter 8 PERSISTENCE layer application 54-58
8.1 MVC programming model 54-55
8.2 template-based presentation layer 55-56
8.3 XML-based data exchange 56-57
8.4 Summary 57-58
Chapter 9 Conclusions and Outlook 58-66
Related dissertations
- Counties’ Real-time Reporting Systems for Major Events and Decision
- Design and Implementation of Enterprise Multi-Site Content Management System Based on XML
- The Design and Implement of the Declaration and Approval of the E-government System
- The Design and Implementation of the Electronic Invoice Matching and Presentment System
- Automotive Marketing and After-sales Service System Based on J2EE and XML Technology
- XML Data Management Based on Relational Database
- The Study of Workflow Technology and Its Application in Human Resources Management System
- The Reserch on Automatic Generation of Ice Application Framework
- The Design and Implementation of Electronic Medical Record System Based on XML
- Design and Implementation of A Structured Electronic Medical Record System
- The Research and Design of Fast Persistence Layer for Maping Object to Rational Database
- Design and Implementation of a Supply Chain System for Manufactural Enterprise
- Design and Implementation of Dynamic Monitoring System for Budget Enforcement Based on J2EE
- Integrated ERP Credit Control System
- The Design and Implement of Video Sharing Website Based on Face Tracking
- A Mobile-platform Based Cloud Web Structure Transform
- Study on the Network Flow Statistics System Based on NETSTREAM
- The Design and Implementation of the Campus Network Management System of Transport Management Institute Ministry
- A Design and Development of Operation and Maintenance System for Zhejiang Social Security Center
- Research on Resource Virtualization in Cloud Manufacturing