Font Size: a A A

Research And Realization Of Design Pattern For Data-Tier Based On Hibernate

Posted on:2008-04-08Degree:MasterType:Thesis
Country:ChinaCandidate:S Q ZhangFull Text:PDF
GTID:2178360212981353Subject:Management Science and Engineering
Abstract/Summary:PDF Full Text Request
Nowadays in the software development field, object-oriented technology, database technology and theory of component reuse develop rapidly. It has aroused people pay close attention to software system framework research. The purpose of software framework is software reuse, which means the process of reusing the software designed for the purpose of reusing. Thinking of software reuse is to consider software as a complex of different components, and each of components can be designed as a common tool to realize the similar function. A rational framework can improve expansion, maintainability and easiness of task partition. Meanwhile the stable framework can be transplanted to other systems. Actually, object-oriented technology and database technology play an important part in many systems, and developers are keen on the union of them. Object-oriented technology is based on theories of object, but relation database technology is based on theories of relation especially theories of set. Diversity of base theory has led to mismatch of the two technologies. Therefore a strategy to resolve mismatch is required urgently, and the object relation mapping arises at the same time.Firstly, object-oriented technology and relation database technology are discussed deeply, the mapping strategy between them have been paid more attention to. The mapping principle and realization method have been sum up.Secondly, the persistence strategy in system is divided according to the core pattern in the data persistence. The mainstream theory of the persistence technology is illustrated and the conclusion is that the Hibernate is a better selection in the persistence realization compared with other persistence technology.Thirdly, in the guideline of multi-tier system structure, the framework model of data persistence and access has been established, which can realize the CRUD (Create, Read, Update, Delete) operation on the data persistence layer. Many kinds of design patterns have been proposed on data access layer, which can make the system more flexible, more expansible, and more maintainable.Finally, with the case of technology management system, this model has been applied to design and development of this system, and the rationality of this model has been tested by many groups of test data in the system running.
Keywords/Search Tags:Data Persistence, Object Relation Mapping, Design Pattern, Multi-Tier Framework
PDF Full Text Request
Related items