EDI format conversion framework Smooks is a Java framework used to process XML and non-XML data.
Non-XML data includes CSV, EDI, and Java.
EDI (Electronic Data Interchange ). EDI has been born for at least 20 years. The Development and Evolution of ebdi (Electronic Business document exchange) fully reflects the importance of EDI in the business field.
the United Nations Organization for Standardization (ISO) describes EDI and converts commercial or administrative transactions into structured transaction processing or message data formats according to unified standards, a Data Electronic transmission method based on computer networks.
the basic elements of EDI technology include communication, standards, and software.
1. Communication.
all commercial activities that operate on advanced electronic systems and electronic commercial software such as the Internet and servers, including online transactions using the means of communication provided by e-mail. The Intemet EDI model greatly facilitates small and medium-sized enterprises without the need to purchase and maintain EDI software, you do not need to develop the Program interface APL (applica-tionprogramminginterface) for EDI documents and applications. You only need to use the browsing software to develop applications, the EDI center or business partner shall complete the work on table creation and document translation.
2. Standard.
in the structure of EDI technology, standards play a core role. EDI technical standards can be divided into two categories. The first type is the language that represents the meaning of information. It is called the EDI language standard and is mainly used to describe structured information. The other is the rule that carries the Information Language, known as the communication standard. It is responsible for transferring data from one computer to another. In general, the EDI language has no restrictions on the communication standards used by its carrier, but has strict restrictions on language standards.
3. Software.
the EDI system is generally composed of four modules: "message generation and processing", "format conversion", "Contact", and "communication.
the EDI language standards are widely used in two series: international standard EDIFACT and American ansix. R. Currently, the EDIFACT standard, which is jointly developed by the United Nations and the International Organization for Standardization (ISO), is being accepted by more and more countries.
The basic purpose of EDI implementation is to replace existing commercial paper documents with electronic data through third-party value-added services. These are based on information standardization. Therefore, the development of EDI actually verifies the development of commercial data and the development process of value-added network service providers.
EDI is an old technology that has been developed for a long time. It is relatively mature and supports it with mature technologies. However, from another perspective, it is relatively closed and the specifications are too rigorous. It is difficult for non-professionals to understand EDI source files.
The typical application of EDI is often a large manufacturer and its supporting suppliers, that is, it is a point-extended mesh structure. The typical application of this type is the automobile industry. Many of the trade between a primary vehicle manufacturer and its supporting suppliers will adopt this method. EDI is widely used in this type, bank payment notifications are also similar.
Role of smooks:
1) execute a large amount of data conversion: XML to XML, CSV to XML, EDI to XML, XML to EDI, XML to CSV, Java to XML, Java to EDI, Java to CSV, java to Java, XML to Java, EDI to Java, and so on.
2) Add a Java object model from the data source (CSV, EDI, XML, Java, etc.
3) supports Virtual Object Model (virtual object model, which is a set of map or list types) and can be used for El expressions and templates.
4) process massive data (GB-level data ). Separates, converts, and routes message fragments to JMS, files, or database backend.
5) execute the ETL (Extract Transform Load) operation.
Smooks also supports Dom and sax processing modes, but adds a friendlyCodeLayer. It allows you to insert your own content for processing.