Monday, June 26, 2006

 

Rationale for orienting the API around JAXB.

In Java there are many ways of handling XML: SAX, DOM, StAX, JAXB, etc. This post attempts to outline a rationale for orienting the APIs within TReCX around JAXB in particular.


Put another way, JAXB is more object-oriented and more closely integrated with Java.

Equally, however, it should be noted that if at some point in the future it would make more sense to implement the store module based on something like StAX, for performance or other reasons, then that should be perfectly sensible and possible. It just wouldn't be "symmetrical" with the publish module any more. However, by that stage, the JAXB implementation should have proved it's worth and done it's job!


Comments: Post a Comment



<< Home

This page is powered by Blogger. Isn't yours?