Hi Brad
Hi Sergey,
just to let you know, my employer has given me permission to submit my
XMLBean providers to the CXF project.
I've got two classes so far that produce and consume XML and JSON from
XMLBeans. I'm also going to be developing a provider class next week
to provide ATOM feeds.
If you still think they'd be of use I'd be happy to submit a patch as
a starting point for XMLBean support within CXF.
I think it would be great, as XMLBeans is a technology which can be used by different applications...Please submit a patch. One
thing is that I may not be able to react quickly and apply it fast as currently I can only afford spending some limited time only
outside of my working hours on maintaining the CXF JAX-RS framework . I'm slowly moving ahead with a 0.7 api upgrade work and
planning to accumulate those changes with your patches, as well as with any other patches we may've received during the next couple
of weeks...
About Atom. CXF currently ships some core Apache Abdera classes and a couple of basic Atom Feed/Entry providers, which makes it
trivial to expose application-specific classes as Feeds or Entries, see for example this blog entry on how one can combine JAX-RS
and Abdera :
http://weblogs.java.net/blog/mhadley/archive/2008/02/integrating_jer_2.html
This gives a total control to the developer with respect to how a given Feed or
individual Entry is created.
Now, another option is to basically do this :
@ProduceMime("application/atom+feed")
Bars getBars() {}
Have you been thinking about creating a provider which can introspect a given application type like Bars and properly wrap it into
an atom feed or entry ?
Thanks, Sergey
Brad.
----------------------------
IONA Technologies PLC (registered in Ireland)
Registered Number: 171387
Registered Address: The IONA Building, Shelbourne Road, Dublin 4, Ireland