| | 2. JiBX | By: | | License: | | URL: | http://jibx.sourceforge.net/ | Description: | JiBX is a framework for binding XML data to Java objects. It lets you work with data from XML documents using your own class structures. The JiBX framework handles all the details of converting your data to and from XML based on your instructions. JiBX is designed to perform the translation between internal data structures and XML with very high efficiency, but still allows you a high degree of control over the translation process.
How does it manage this? JiBX uses binding definition documents to define the rules for how your Java objects are converted to or from XML (the binding). At some point after you've compiled your source code into class files you execute the first part of the JiBX framework, the binding compiler. This compiler enhances binary class files produced by the Java compiler, adding code to handle converting instances of the classes to or from XML. After running the binding compiler you can continue the normal steps you take in assembling your application (such as building jar files, etc.). You can also skip the binding compiler as a separate step and instead bind classes directly at runtime, though this approach has some drawbacks.
|
3. XMLBeans | By: | | License: | Apache Software License | URL: | http://xmlbeans.apache.org/ | Description: | XMLBeans is a technology for accessing XML by binding it to Java types. XMLBeans provides several ways to get at the XML, including:
* Through XML schema that has been compiled to generate Java types that represent schema types. In this way, you can access instances of the schema through JavaBeans-style accessors after the fashion of "getFoo" and "setFoo".
The XMLBeans API also allows you to reflect into the XML schema itself through an XML Schema Object model.
* A cursor model through which you can traverse the full XML infoset.
* Support for XML DOM.
|
4. Digester | By: | | License: | Apache Software License | URL: | http://jakarta.apache.org/commons/digester/ | Description: | Basically, the Digester package lets you configure an XML -> Java object mapping module, which triggers certain actions called rules whenever a particular pattern of nested XML elements is recognized. A rich set of predefined rules is available for your use, or you can also create your own. Advanced features of Digester include:
* Ability to plug in your own pattern matching engine, if the standard one is not sufficient for your requirements.
* Optional namespace-aware processing, so that you can define rules that are relevant only to a particular XML namespace.
* Encapsulation of Rules into RuleSets that can be easily and conveniently reused in more than one application that requires the same type of processing.
|
5. JOX | By: | | License: | GNU Library or Lesser General Public License (LGPL) | URL: | http://www.wutka.com/jox.html | Description: | JOX is a set of Java libraries that make it easy to transfer data between XML documents and Java beans. You can think of JOX as a special form of Java Object Serialization, using XML as the serialization format.
|
6. Zeus | By: | | License: | | URL: | http://zeus.objectweb.org/ | Description: | Zeus is, in a nutshell, an open source Java-to-XML Data Binding tool. It provides a means of taking an arbitrary XML document and converting that document into a Java object representing the XML. That Java object can then be used and manipulated like any other Java object in the VM (virtual machine). Then, once the object has been modified and operated upon, Zeus can be used to convert the Java object back into an XML representation.
|
|