Re: Has anyone used Aegis Databinding with JAXRS?

2008-07-31 Thread Benson Margulies
I'm confused. The pom.xml for rt/frontend/jaxrs excludes JAXB, but there is a JAXB provider in there, and the eclipse build path includes JAXB. How is this working? On Thu, Jun 19, 2008 at 1:00 PM, Sergey Beryozkin <[EMAIL PROTECTED] > wrote: > Hi > > Have a look please here > > https://jsr311.de

Aegis versus jaxrs

2008-07-31 Thread Benson Margulies
If I'm reading the JAX-RS code correctly, which I'm probably not, it doesn't use the JAXB DataBinding object. It interacts class-by-class with JAXB. I think I can do likewise for Aegis, sort of, but it could get ugly. Does JAX-RS give us no ability to configure a data binding at the level of the e

Re: Aegis versus jaxrs

2008-07-31 Thread Sergey Beryozkin
Hi If I'm reading the JAX-RS code correctly, which I'm probably not, it doesn't use the JAXB DataBinding object. It interacts class-by-class with JAXB. At the moment yes, and this is a reson I excluded a jaxb-databinding module, just to minimize the size of the cxf-jaxrs bundle. I think jaxb

Re: Aegis versus jaxrs

2008-07-31 Thread Benson Margulies
When a CXF service offers JAX-RS, some CXF-specific configuration is involved, no? So, could we not have some properties at the service level which the ProviderFactory consumes-if-provided? Aegis in particular has a set of configuration options, it would be very cumbersome to force those to be conf

[QUESTION OF TASTE] Resurrect AegisServiceConfiguration or pick a new name?

2008-07-31 Thread Benson Margulies
We come to discover that there's a bunch of Aegis per-service configuration which is dead in CXF because the service factory doesn't talk to the data binding. The logical way to address this is a ServiceConfiguration. We have a deprecated AegisServiceConfiguration that has the effect of adding XFi

[QUESTION OF TASTE] Should an Aegis(Xml)ServiceConfiguration demand the presence of an AegisDatabinding?

2008-07-31 Thread Benson Margulies
Proposal: The service configuration will obtain the data binding from the service factory. If it is Aegis, it will extract the desired customizations. If it is not Aegis, it will do nothing. It will NOT independently pull in and parse the XML. The alternative is, of course, to allow Aegis configu

Re: [QUESTION OF TASTE] Resurrect AegisServiceConfiguration or pick a new name?

2008-07-31 Thread Daniel Kulp
I'm quite OK with #4. Makes it explicitly clear what it's doing. Dan On Jul 31, 2008, at 1:44 PM, Benson Margulies wrote: We come to discover that there's a bunch of Aegis per-service configuration which is dead in CXF because the service factory doesn't talk to the data binding. The

Re: [QUESTION OF TASTE] Resurrect AegisServiceConfiguration or pick a new name?

2008-07-31 Thread Benson Margulies
Thanks. On Thu, Jul 31, 2008 at 3:20 PM, Daniel Kulp <[EMAIL PROTECTED]> wrote: > > I'm quite OK with #4. Makes it explicitly clear what it's doing. > > Dan > > > > On Jul 31, 2008, at 1:44 PM, Benson Margulies wrote: > >> We come to discover that there's a bunch of Aegis per-service >> configur