摘要
XML是一种具有通用格式的文档结构,其自描述性的特点使得其非常适合于作为数据交换中传输的中间格式;Java对象(JO)具有灵活的数据操纵能力,在其上进行数据操作具有简单、方便的优点。文章提出了一种基于数据库记录、Java对象、XML三者相互转换实现多异构数据库环境下数据共享问题的解决方案,该方案能在较大程度上减少代码的编写并提高数据共享的效率。
XML is a document structure of universal format. It is quite suitable to be used in data exchange as a middle format because of its self- description character. Java Objects(JO) have flexible data manipulation capabilities. Data manipulations on JO are very simple and convenient. This paper introduces a method based on conversions among database records、JO、 XML to solve the data sharing under multiple isomerous databases environment. This method can reduce code -compiling and improve data communication rates in some extent.
出处
《绵阳师范学院学报》
2005年第5期29-33,共5页
Journal of Mianyang Teachers' College