JiBX

JiBX is a free XML data binding framework for Java. In order for a work with XML documents is possible, without the programmer interfaces for processing XML like SAX or DOM must use directly. This allows JiBX binding any class structures to arbitrary XML documents. As a result, JiBX differs from other Java XML binding frameworks like JAXB or XMLBeans, which generate the binding to classes from the XML schema of the XML documents, or Apache Commons Betwixt, which generates from the binding classes to the XML documents. Thus, it is the only Java framework that allows complete independence to be bound Java classes from the XML documents.

JiBX is designed so that it will do this as efficiently as possible, which is why JiBX is also one of the fastest XML binding framework for Java.

Operation

JiBX is based on the so-called Mapped Data Binding, which means that any Java classes are mapped by means of a binding definition to XML documents. This makes it possible to implement an architecture that separates the business objects ( Java classes ) of the communication or persistence interfaces ( XML document ). It is thus possible to develop Java classes, regardless of the XML documents to be bound.

The conversion itself is done via the Bytecodemanipulation to be bound classes itself, it is not necessary to create your own conversion classes. Thus, both the performance and the memory consumption of the framework are positively influenced.

For JiBX provides the following tools:

  • Bindgen - manipulation of the bytecodes to be bound classes and generation of XML schemas for these classes
  • Codegen - generation of source code and bytecode manipulated for binding to classes from an existing XML Schema
  • Jibx2wsdl - Generation of JiBX binding, WSDL, and XML schema from classes
  • Starter - using binding definitions for the binding of classes to XML schemas

Alternatives

437775
de