Hi On Mon, Jul 26, 2010 at 4:00 PM, ermedeiros <[email protected]> wrote:
> > Hello, > > In my implementation I need JAXB's @XmlJavaTypeAdapter annotations. Is it > possible replace these annotations by any property in the configuration > file? > > In addition, in some classes I need to map some private attributes, so it > was necessary to use @XmlElement annotation for these attributes. Is it > possible to do that by configuration file or I need to add public getters > for them? > > The idea of introducing a no-annotations feature was two-fold : let users to avoid having to type JAXRS annotations (given that JAXRS and JAXB are just two different things and they live at different levels) and make it all easy for DOSGi JAXRS users (no need to import JAXRS annotations). It's never been a goal to provide a way for users to push JAXB annotations away from the code. There's a limited support - particularly, @XmlRootElement is not strictly required, plus names for explicit collections, but that is really it...Some users go with Aegis instead... cheers, Sergey > Thanks, > Elias > -- > View this message in context: > http://cxf.547215.n5.nabble.com/RESTful-services-without-annotations-tp562232p2228137.html > Sent from the cxf-user mailing list archive at Nabble.com. >
