目前大多数软件开发都采用面向对象技术,而数据仍然保存在关系数据库中。由于对象模型和关系模型存在阻抗不匹配,因此实现对象与关系的映射已成为软件开发领域的关键问题。采用O/R M app ing(对象/关系映射)技术、XM L技术和软件分层的...目前大多数软件开发都采用面向对象技术,而数据仍然保存在关系数据库中。由于对象模型和关系模型存在阻抗不匹配,因此实现对象与关系的映射已成为软件开发领域的关键问题。采用O/R M app ing(对象/关系映射)技术、XM L技术和软件分层的设计思想,实现了一个有效的数据库访问中间件,解决了利用ADO.NET开发应用程序遇到的数据表示和存取问题。展开更多
For integrating relational databases (RDBs) into semantic web applications, the W3C RDB2RDF Working Group recommended two approaches, Direct Mapping (DM) and R2RML. The DM provides a set of mapping rules according to ...For integrating relational databases (RDBs) into semantic web applications, the W3C RDB2RDF Working Group recommended two approaches, Direct Mapping (DM) and R2RML. The DM provides a set of mapping rules according to RDB schema, while the R2RML allows users to manually define mappings according to existing target ontology. The major problem to use R2RML is the effort for creating R2RML mapping documents manually. This may lead to appearance of many mistakes in the R2RML documents and requires domain experts. In this paper, we propose and implement an approach to generate an R2RML mapping documents automatically from RDB schema. The R2RML mapping reflects the behavior of the DM specification and allows any R2RML parser to generate a set of RDF triples from relational data.The input of generating approach is DBsInfo class that automatically generated from relational schema. An experimental prototype is developed and shows the effectiveness of our approach algorithms.展开更多
Based on trait of J2EE multilayer frame system,analyzing Drawbacks of Interactive synchronization used by browse and server in Web application and Data-persistent-process in E-Business development,put forward the solv...Based on trait of J2EE multilayer frame system,analyzing Drawbacks of Interactive synchronization used by browse and server in Web application and Data-persistent-process in E-Business development,put forward the solve project of E-Business system grounding on synthesis application of Ajax、Struts、Hibernate and Spring,and realize Asynchronous interaction of browse and server and problem of Object/Relation Mapping of RDBS.展开更多
To solve the data persistence problem in the management system, this paper used the popular object-relational mapping framework Hibernate to achieve the persistence layer which in a medicines inventory management syst...To solve the data persistence problem in the management system, this paper used the popular object-relational mapping framework Hibernate to achieve the persistence layer which in a medicines inventory management system. This paper described the advantages and principles of the Hibernate, and then showed the written work of the configuration files, mapping files, persistent classes, etc. Finally, the paper showed how to display the specific data information in the TableViewer based on the Eclipse RCP framework. It is observed that, operating the objects in the Hibernate framework is more flexible and efficient than using JDBC directly. Ad in addition, the application based on Eclipse RCP framework can take over many excellent features of Eclipse, and the developers can improve their efficiency by these features.展开更多
文摘目前大多数软件开发都采用面向对象技术,而数据仍然保存在关系数据库中。由于对象模型和关系模型存在阻抗不匹配,因此实现对象与关系的映射已成为软件开发领域的关键问题。采用O/R M app ing(对象/关系映射)技术、XM L技术和软件分层的设计思想,实现了一个有效的数据库访问中间件,解决了利用ADO.NET开发应用程序遇到的数据表示和存取问题。
基金This work is supported by National Natural Science Foundation of China under grants 61572221, 61173170, 61300222, 61370230, 61433006 and U1401258, Innovation Fund of Huazhong University of Science and Technology under grants 2015TS069 and 2015TS071, Science and Technology Support Program of Hubei Province under grant 2014BCH270 and 2015AAA013, and Science and Technology Program of Guangdong Province under grant 2014B010111007.
文摘For integrating relational databases (RDBs) into semantic web applications, the W3C RDB2RDF Working Group recommended two approaches, Direct Mapping (DM) and R2RML. The DM provides a set of mapping rules according to RDB schema, while the R2RML allows users to manually define mappings according to existing target ontology. The major problem to use R2RML is the effort for creating R2RML mapping documents manually. This may lead to appearance of many mistakes in the R2RML documents and requires domain experts. In this paper, we propose and implement an approach to generate an R2RML mapping documents automatically from RDB schema. The R2RML mapping reflects the behavior of the DM specification and allows any R2RML parser to generate a set of RDF triples from relational data.The input of generating approach is DBsInfo class that automatically generated from relational schema. An experimental prototype is developed and shows the effectiveness of our approach algorithms.
文摘Based on trait of J2EE multilayer frame system,analyzing Drawbacks of Interactive synchronization used by browse and server in Web application and Data-persistent-process in E-Business development,put forward the solve project of E-Business system grounding on synthesis application of Ajax、Struts、Hibernate and Spring,and realize Asynchronous interaction of browse and server and problem of Object/Relation Mapping of RDBS.
基金Supported by National Natural Science Foundation of China (No.61370005,No.31170797)Liaoning Province Education Department Research Project Fund (No.L2011218)
文摘To solve the data persistence problem in the management system, this paper used the popular object-relational mapping framework Hibernate to achieve the persistence layer which in a medicines inventory management system. This paper described the advantages and principles of the Hibernate, and then showed the written work of the configuration files, mapping files, persistent classes, etc. Finally, the paper showed how to display the specific data information in the TableViewer based on the Eclipse RCP framework. It is observed that, operating the objects in the Hibernate framework is more flexible and efficient than using JDBC directly. Ad in addition, the application based on Eclipse RCP framework can take over many excellent features of Eclipse, and the developers can improve their efficiency by these features.