Hosted by:
SourceForge.net Logo

Sourceforge
     Project Page
     Donations
     Developer List
     CVS
Site Map
     About JOB
     News
     JOB Usage
     FAQ
     Tutorials
     Features
     Revision Plans
     Known Issues
Downloads
     Stable Build
     Bleeding Edge
     Examples
Contact Us
     Join the JOB Team
     Feature Request
     Bug Report
     Technical Support
Automatically marshalling any Java object into XML (unless it is controlled by a security manager denying access to the com.crs.job package) is obviously the most enticing (and main feature) of Java Object Binding. The idea of marshalling an Object into XML is by no means orriginal. However, JOB is the first Java API to do it without a binding deffinition. This is done through a series of conventions that match valid XML facets to Java Object fields. Simple and intuative handling of XML is critical to some apps and has been the Holy Grail of parsers since the time the concept was concieved.

JOB supports pluggable converters for marshalling and unmarshalling specific Objects to XML without entering into the some times extranious process of marshalling every field in the Object and it's fields and it's superclass's fields etc. Such a process can cause enourmous amounts of XML where really a few lines would do. For instance: A JLabel is a rather simple component, and could be marshalled to very few lines of XML. If we used the standard marshalling procedure, then we would end up with hundreds (at least) of lines of XML. This is the situation that the plugable converters are designed to prevent.