cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Kulp <>
Subject Re: CXF-1891 another revenant from XFire
Date Mon, 03 Nov 2008 17:09:54 GMT
On Monday 03 November 2008 9:28:41 am Benson Margulies wrote:
> In this particular case, it might be worth considering whether the
> particular use case holds water. 'Gee, I have these XMLBeans over here
> for some of my types, but I can't/don't want to bother to either build
> out XMLBeans for all of my types or build JAXB for those. Couldn't I
> mix and match? It seems incompletely crazy to me (and much like I've
> been learning about JAX-RS), but it also seems like a big job to do it
> coherently.

With XFire, it was even more complex.   There was a circular dependency 
between the xmlbeans databinding and the aegis databinding which was just 
nuts.   The xmlbeans databinding also delegated down into aegis for anything 
it didn't know about (in particular, anything "primitive").   I DIDN'T do 
this for the cxf version of XMLBeans as I didn't want aegis to be a required 
dependency to use XMLBeans.  (and didn't want Aegis to depend on XMLBeans)

Thus, if I was going to tackle this, I would actually tackle this from within 
the XMLBeans databinding.   If the xmlbeans databinding cannot get an 
xmlbeans type for something, possible callout to other databindings to see if 
they want to handle it.

Actually, this could be an opportunity to refactor the databinding stuff 
slightly to make it more usable by the JAXRS stuff.   If the databindings 
could be registered someplace on the bus, and also have a more generic 
factory type API, all the databindings could be slowly updated to delegate 
out if something is unknown and JAXRS could use the same stuff to reuse some 


> On Mon, Nov 3, 2008 at 8:40 AM, Glen Mazza <> wrote:
> > I share your sentiments that you placed in put in that bug report, namely
> > that CXF, like Metro, does not have a requirement or an architectural
> > need to do everything that XFire does.  BTW, for the benefit of others,
> > here's the link:
> >
> > Benson Margulies-4 wrote:
> >> Any other committers care to weigh in on this?
> >
> > --
> > View this message in context:
> >
> >02927.html Sent from the cxf-dev mailing list archive at

Daniel Kulp

View raw message