Processing EDI, XML, CSV and more with Smooks v1.2

14 Jul 2009 - Tom

Smooks v1.2 has just been released (download). This release adds a number of very interesting features and enhancements to Smooks, most notably:

  1. EDIFACT Java Compiler (EJC): EJC greatly simplifies the process of binding EDI data to a Java object graph. EJC is similar to JAXBs XJC, accept for EDI messages. This is just the first of a number of developer optimization features we are in the process of adding in the area of EDI message processing.

  2. Entity Persistence Framework Support: Reuse your Entity Persistence resources (like Hibernate, iBATIS or any JPA compatible resource) to persist or enrich messages of any format (EDI, XML etc). Access a database and use it’s query language, or CRUD methods, for reading and writing to the database.

  3. Validation: Perform Rule based message fragment validation on messages of any format (EDI, XML etc). Supports Data Field level validation using regular expressions, or Business Rule compliance validation using MVEL expressions.

  4. Simplified CSV Processing: Bind CSV records to Java objects in seconds using a much simplified XML configuration, or using a very simple programmatic API.

  5. Improved Programmatic APIs: Prior to Smooks v1.2, programmatic configuration was not one of Smooks’ strengths. In Smooks v1.2 we’ve made significant improvements in this area. Most Smooks features can now be utilised through Java, without writing a line of XML.

As well as these new features, Smooks v1.2 includes numerous bug fixes. Please download Smooks v1.2 and let us know what you think. We hope you find it useful!!