Java XML Mapping (JXM) JXM is hosted at SourceForge SourceForge.net Logo

JXM

JXM 0.3

This documentation is for the 0.3 release of JXM. Source code and binaries are available at http://www.sourceforge.net/projects/jxm. JXM is a project of Life Code, Inc.

Java XML Mapping (JXM)

Java XML Mapping (JXM) is a tool for writing Java objects to XML and reading them back again. JXM provides a default mapping so that Java objects that follow Java Bean naming conventions can be written to XML by calling a single method. The default mapping can be customized by creating and registering mapping classes with the JXM framework.

JXM differs from other XML binding tools by not requiring objects to include or inherit from JXM code. No generated code is included in the objects, and they don't need to implement JXM interfaces. Customization is done by writing Java code rather than XML descriptors. JXM differs from other XML binding tools by supporting the mapping of object relationships to XML elements. Capturing object relationship information makes reading from XML easier, and is inspired by the XMI specification for representing UML associations in XML. The design goal of JXM is to make the source Java objects and the generated XML as decoupled as possible.

Another design goal of JXM is simplicity, which accepts some loss of function. JXM does not support XML namespaces, and there is no tool to generate code from XML Schema. JXM will support XML namespaces in a future release.

Acknowlegements

We thank the authors of the Java projects listed below for their contributions to Open Source software. JXM depends on code from these projects, and would have been much less functional without them.

JXM uses ideas and some code from ExoLab's Castor library. Where Castor code is included, the package name is changed, but it retains its original copyright notice.

Project VersionPurpose
Castor 0.9.4.3 Java XML binding
Commons CLI 1.0 Command line parsing
Commons Discovery0.2 Discovery of interface implementations
Commons Logging 1.0.3 Message logging API
JUnit 3.8.1 Unit testing
Log4J 1.2.4 Message logging
Xerces 2.0.2 XML parsing

Copyright © 2003, Life Code, Inc.