Font Size: a A A

Study On Technology Of Model-driven Entity Object Persistence

Posted on:2009-01-27Degree:MasterType:Thesis
Country:ChinaCandidate:L ChenFull Text:PDF
GTID:2178360272974101Subject:Computer software and theory
Abstract/Summary:PDF Full Text Request
MDA (Model Driven Architecture) is a new software development methodology which put forward by the OMG (Object Manage Grooup). With the method of software development, the analysis and design of the system business functions are separated from the implementation of platform technology. The system model is divided into two large abstract levels: Platform Independent Model (PIM) and Platform Specific Model (PSM). The automatic transformation from PIM to PSM is the key technology in the process of MDA software development.For the existing entity object persistence, using object-oriented model which based on software engineering methods such as coupling,cohesin,encapsulation to design, relation model which based on relation theory to store,combing the two different theoretical model does not match, this paper presents a model-driven entity object persistence method: By using PIM in MDA to establish entity PIM, then through model transformation, finally the corresponding relation model is obtained, and a common software module is built for achieving object-relational map. Transformation rules and transformation engine is the core of model transformation. By inputting the source model, implementing the corresponding transformation rules through the transformation engine, then the objective model is obtained. The main studies of this paper are as follows:①The basic theory and core technology of Model-driven are analyzed. Then the theoretical foundation of object model and relation model, the application specialty and the not-matching of combing two models are discussed.②Model transformation of MDA is analyzed in detail. Based on the investigating of MDA development, the keystone: model transformation in the process of development is analyzed detailedly, from the definition ,characteristic of model transformation and the existing model transformation technology. The expecting unified model transformation technology QVT (Query/View/Transformation) is the main focus.③In this paper, the author designs the entity object model transformation rules and the rule-based model transformation engine. Model transformation rules and transformation engine is the key to realize the persistence of model-driven entity object. By using the meta-model mapping method, the author designs the entity object model transformation rules basing on the QVT, and designs the model transformation engine on these rules; and also presents the overall structure of the engine and its main function modules.④The framework persistence of the model-driven entity object is Implemented and tested. Used Together2006 which integrates Eclipse framework as a technology platform, the realization of object model transformation rule is analyzed. At last the application of the framework is validated through illustrating a practical e-commerce system.Through the model-driven entity object persistence framework which designed in this paper, developers can be effective reunification of the object-oriented design and relation model store, increasing development efficiency.
Keywords/Search Tags:Model Driven Architecture, Model transformation, Object-relational mapping, Model transformation rules, Model transformation engine
PDF Full Text Request
Related items