I posted the 0.7 demo version to the site last night, and just checked
in the CVS updates. This includes a fairly functional binding compiler.
The subset of features supported right now is pretty limited, but still
includes some fun structure mapping operations - see the demo download
and the discussion of the three bindings used for the demo code.
This illustrates two big features of JiBX (beyond the fact that the
binding compiler works at all, which is kind of cool!):
1. Using multiple bindings for the same objects, allowing unmarshalling
with one and then marshalling (potentially after changes) with another.
2. Structure mapping, which allows the object graph to be structured
differently from the XML (elements without corresponding objects,
objects without corresponding elements).
Castor and Quick can do (1), but as far as I know JiBX is the only
framework that supports (2). This is a key feature, since it allows you
to refactor your object structure without changing your XML format.
Beta 1 to follow by mid-March. Most of the code is already in place, it
just needs to be tested and have a few gaps filled in.
Get latest updates about Open Source Projects, Conferences and News.