| The cooperation between China and other countries or areas becomes closer and closer. With the increased communication between China and Germany, it's time to build a platform that can support users to share technology, economy, policies and culture information. So Shanghai Science & Technology committee of China and the Baden Wuerttemberg government of Germany sponsor the project that named "Shanghai-Baden Wuerttemberg Information Portal of Science Technology & Economy".This paper is based on"Shanghai-Baden Wuerttemberg Information Portal of Science Technology & Economy", focusing on researches of the data exchange of different architecture systems. In this paper, the research work we do is to apply the bi-directional interface between XML and database to the information portal. This paper also researches some technologies about XML and database for the implementation of bi-directional interface between XML and database. Through the analysis of XML data storage mechanism and database mapping technology, this paper puts forward the design and implementation of bi-directional interface between XML and database. Connecting with database though JDBC, building a data interface between the web service and database using Java, we can implement the data exchange between XML and database. As XML document is exchange medium between database and outside, it shields the database detail and makes the extensibility of system better.This interface has been used in the portal and it is successful.In this paper, not only a data interface is successfully put forward and implemented, but also the method is commonly helpful to the Internet data interchange and data exchange of the other different architecture systems, in which lies the meaning of our work. |