Hi Eitan,

I was involved in the JAXB 2.0 expert group, so some of the new features reflect my own ideas. My opinion on this evolution issue is that while JAXB 2.0 is adding some functionality for going from Java code it's falling far short of what JiBX offers. JiBX performance is likely to remain considerably better than JAXB 2.0. JiBX also supports multiple bindings, which is an increasingly important feature as developers need to work with versioned schemas. And, of course, JAXB 2.0 is only usable with Java 5. For all these reasons I don't see JAXB 2.0 as a "JiBX killer".

The Java 5 support is where JiBX is adding some features to match JAXB 2.0. As far as I can see, annotations are not able to provide the flexibility of JiBX bindings, but they do serve well for simple bindings where the Java structure matches the XML structures (which is the only case supported by JAXB, as far as I know). Generics are another Java 5 feature that can simplify data binding, since it embeds more metainformation into the source code. These are both areas where JiBX is going to see enhancements, perhaps even before 2.0.

See my articles for some discussion of these issues:

http://www-128.ibm.com/developerworks/java/library/j-cwt08025.html
http://www-128.ibm.com/developerworks/java/library/j-cwt11085.html

 - Dennis

Eitan Suez wrote:

hello all,

 i am curious to hear opinions about the evolution
of xml data binding systems. we know dennis is working on v2 of jibx. at the same time, we see
 the jaxb2 effort taking jaxb way beyond its v1.0
 mandate.
 one of the main advances in jaxb in my mind is the fact
 that jaxb2 will not only cover schema->source code
generation but will be a more comprehensive binding solution, where one can go in either direction
 (schema generation from source code).

 another character of jaxb2 is a strong java5 nature and
 the embracing of annotations as one way to specify metadata.

 are jibx2 and jaxb2 converging towards the same goal?

/ eitan



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
jibx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-users



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
jibx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to