物件永續化是應用系統設計時經常會面臨的需求,傳統做法是由開發人員自行設法將物件轉為資料庫可接受的格式,再存入後端資料庫。但這往往使得開發人員必須同時處理兩種資料模型,除了應用系統所用的物件模型之外,開發人員還要處理後端資料庫所用的資料模型,譬如表格等,以及兩種模型間的轉換。這不僅增加系統開發的複雜度,維護系統亦不容易。新的資料永續性技術Java資料物件(JDO)提供一個標準的框架,能夠幫助開發人員代為處理物件永續化的問題。因此開發人員能夠以單純的物件模型發展應用系統。另一方面,XML技術的興起帶動XML文件在資料交換與儲存方面的加速發展,其中專門儲存XML文件的資料庫也日益普遍。我們的研究是在瞭解如何使用XML資料庫為後端的資料儲存庫,而對Java物件進行物件永續化。 / Object persistence often comes up at the development of the application systems. Traditionally, the developers should try to transfer the objects to forms that databases can accept, and then store them in databases. But this often makes developers deal with two kinds of data models at the same time: besides object model that the application usually uses, the developers should also deal with the data model used for the backend database, like the relation model, and the conversion between both models. This not only increases the complexity of the system, but also the difficulty to maintain the system. A new technology of object persistence is Java Data Objects (JDO), which offer a standard framework to help developers to deal with object persistence so that the developers can concern themselves with object model only. On the other hand, the rise of XML technologies makes it attractive in data exchange and storage. The use of XML databases as data repositories becomes more and more common. Our research in the thesis is to realize JDO by serializing Java objects as XML documents and use XML databases as persistent repositories to store the resulting documents.
Identifer | oai:union.ndltd.org:CHENGCHI/G0090753014 |
Creators | 侯語政, Hou, Yu-Cheng |
Publisher | 國立政治大學 |
Source Sets | National Chengchi University Libraries |
Language | 中文 |
Detected Language | English |
Type | text |
Rights | Copyright © nccu library on behalf of the copyright holders |
Page generated in 0.0024 seconds