Dom|xml absrtact: In this paper, we propose to use XML to realize the exchange of logistics information among the member enterprises in the supply chain under Domino environment, and give an application example.
The process of logistics planning and execution is an internal department within an enterprise, or even process collaboration with upstream and downstream partners in the supply chain, so logistics information often needs to be cross-sectoral and cross-business, so that business partners can achieve replenishment, transportation, procurement, Order Processing and other process coordination work, to achieve logistics-oriented collaboration. This must be based on logistics information collaboration. However, because each member enterprise of the supply chain is independent, the database system used in the logistics information system is different, such as: Oracle,sqlserver,sybase and so on. At the same time, they have different data file format, such as: www information, Relational data and structured documents, these differences restrict the transfer and sharing of logistics information in the member enterprise of supply chain. In view of this situation, we propose to use the current popular XML language in Domino environment to realize the exchange of logistics information across departments and enterprises.
2 XML and Domino Introduction
2. 1 XML Data Interchange mode
XML, a new language for describing structured data, developed by the Internet Consortium in 1998, is an optimized subset of SGML, and its superior features make it a standard for supporting data exchange. The choice of XML to achieve the exchange of logistics information, mainly based on its many advantages:
(1) in the process of logistics information exchange, there are a large number of document information, the same document may be transferred between multiple application modules, the use of XML can be simple to check, transform, display and synchronization of documents;
(2) XML uses a typical tree structure, so the operation of an XML object such as traversal, query, deletion, reconstruction, add, and so on, as long as the classic tree operation can be followed;
(3) XML is data-oriented and concrete application-independent, so referencing XML in one module does not affect other applications;
(4) All the current mainstream databasesManagement The system is beginning to support XML, such as ORACLE8I,DB2 7. Over 0, SQLServer2000 directly support the bidirectional data reading and writing of XML document to database;
(5) The XML document is self-describing, and the data can be extracted, analyzed and processed by any application that can parse the XML data, and is displayed in the desired format;
(6) The XML standard itself is completely open on the web and can beFree obtained.
2. 2 Domino Technology
Domino is a groupware software product developed by Lotus Company. He is a computer network based on the document-oriented, with a strong communication and information sharing capabilities of the system application platform. Lotus Domino can be run on a variety of operating system platforms, a full access center, a secure, robust, reliable communication infrastructure, and he is also a Web server, so it is appropriate to integrate with XML to implement data exchange and information publishing on Internet web, Start the seamless connection of the business partner system in the supply chain, and realize the exchange and sharing of the data on the Internet.
2. 3 The advantages of combining XML with Domino
The use of XML in the Domino Platform for Logistics information exchange is consistent with the application requirements of XML and Domino services provided by the combination of the following advantages:
(1) XML application requirements support system should have strong cross-platform capability, and Domino server has cross-platform, support Microsoft Windows 95/nt (Intel and Dec Alpha), IBM Os/2,os/390,os/400,aix, Hewlettpackardhp_ux,sun Solaris (SPARC and Inteledition), Novelnetware and many other operating platforms.
(2) The Logistics information exchange platform requires to be able to provide authorized users with enterprise-class security assurances, especially in the transmission of valuable data on the Internet. Domino Server provides level 4 security: Bidirectional authentication, access control List ACL securityManagement -Achieve a single domain level, field-level encryption and electronic signatures, and fully integrate the sslv3,x. 509 authentication, CDSA and s/meme security mechanisms to provide the maximum range of data transmission security guarantees.
(3) Using XML to realize the exchange of logistics information requires a message transmission mechanism to drive data transmission. The most notable feature of the Domino application server is message transmission, which uses a set of mechanisms centered around the mail system to transmit messages and deliver rapid data transfer and feedback.
(4) XML technology should be stored in close proximity to the XML itself, that is, the tree structure, which provides a structured representation of the data and is easy to operate. Domino database server is also a document database, which can guarantee the integrality of the structure and semantic information of stored XML data, and the Domino database has a good guarantee of the scalability of the data. In this case, the data can be arbitrarily extended and shrunk, such as adding or removing node elements and attributes, and modifying such modifications can be easily accomplished.
(5) using the DTD in XML technology, the search engine can locate the data easily and eliminate the interference of the display mark to make the data search fast and efficiently. Domino through its core functions-distributed knowledge search, the use of unique replication technology, directoryManagement technology, File systemManagement and database indexing, which enables efficient search of databases, documents, or other types of files throughout the network domain.
3 XML Application example of logistics information exchange in Domino environment
(1) in the exchange of logistics information, Domino Server Accept client Logistics Information query request, trigger Webqueryopen agent, generate a query request to the database, and then perform database operations, resulting in an XML object. A partial encoding of the agent is given below:
(2) The server side then encapsulates the XML object generated by the query database into an XML format and sends it back to the data request side. In order to encapsulate the query results in XML format, we use the Ms-xml parser. First create the XMLDOMDocument object variable "xmldoc" and create a root node "XmlRoot".
At this point, all the result records are added to the XMLDOMDocument object variable "xmldoc". You can get all of the text from the "XML" attribute of "xmldoc" and send it to the client through the Domino mail mechanism.
(3) When a client receives data encapsulated in XML format, it searches for information and extracts the required data information. In this process, XML documents need to be parsed and positioned, and we can use DOM (document Object Model) technology. For example, to extract some basic data from an XML document, the parser transforms the XML document into a DOM tree, as shown in Figure 1.
Thus, the search of information becomes the traversal of the information tree, and the user can add, delete and modify the information tree. Some of the program code that traverses the XML document is given below:
......
4 Conclusion
Combine XML and Domino to realize the exchange of logistics information, make full use of the characteristics of XML flexible data format, storage and display separation, as well as Domino's powerful communication function and information sharing ability, it is easy to realize the integration of logistics information exchange and application between heterogeneous systems, and realize the logistics cooperation of enterprises better. Improve the rapid response ability of the whole supply chain.
Reference documents
[1] jinxin, Chen Jiaxun. Research on the information exchange of supply chain based on ontology [J]. Computer Applications, 2003,23 (1): 7-10.
[2] Wang Zhong, Chen. Research on data exchange and access technology based on XML [J]. Computer Engineering and Applications, 2002, (24): 108-111.
[3] Zhou, Zhoulian Ying, Chajimin. XML application integration for Domino applications [J]. Computer Application Research, 2002, (1): 91-93.
[4] Rose kellepher m,thomas Jones A. Lotusdomino/notes R5 Application tutorial [M]. Beijing: Machinery Industry Press, 1999.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.