Font Size: a A A

Research Of Object Persistence Technology Based On O/R Mapping In CRM

Posted on:2008-01-07Degree:MasterType:Thesis
Country:ChinaCandidate:Z TianFull Text:PDF
GTID:2178360242456255Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
In recent years, the Object-Oriented development has become the mainstream in the enterprise application development, while relational database is still the most widely used database.Therefore, we usually use the way in which Object-Oriented technology and relational database are combined in the development.It introduces a problem between Object-Oriented Model and Relational Data Model: impedance mismatch.Therefore, it becomes significant to transfer data from object models to relational models and integrate of Object-Oriented application and relational database.The Object/Relation Mapping is the core issue to make them work together. In the enterprise application,ORM is a kind of consuming-time job, so the developers begin to care how to make the ORM developping briefly and improve the system performance. Hibernate is the ORM tool which is generally regarded by many programmer at present.It's an open source Java framework,and manages the mapping between the Java Object and the relational table, provides the method of querying and retrieving data.It makes programmer handle the database freely by using Object-Oriented programming thinking.This paper first introduces the technology of Object/Relation Mapping, analyzes the characteristics of the Object-Oriented Model and the Relational Model and the relationship between them, detailed describes the rules and strategies of the ORM, discusses the object persistence based on relational database and detailed analyzes the Object Persistence theory of Hibernate.With the Struts, an open source framework based on MVC, we develop a CRM system,realizing the Object Persistence of the relational database with Hibernate.We improve the system performance by using the database connection pool and the cache in Hibernate.Meanwhile,we introduce some design patterns, such as Template,Factory Method and DAO. It effectively reduces the degree of the coupling between the business logic and the data storage, improves the readablity and reusablity of the codes, simples the development and increases the developping quality as well as the efficiency.
Keywords/Search Tags:Persistence Layer, Object Persistence, Object/Relation Mapping, Hibernate, Design Pattern, CRM
PDF Full Text Request
Related items