You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by mraible <ma...@raibledesigns.com> on 2007/12/13 17:19:33 UTC
Upgrading from XFire to CXF
We are currently using XFire in the AppFuse project and it works great.
We are aware that Apache CXF is the next generation of XFire. However, we've
also optimized the XFire footprint[1] to be as small as possible. Part of
this optimization was removing JAXB 2 support and using XMLBeans instead.
The XFire Migrating Guide[2] says that XMLBeans will be supported in CXF
2.1.
What is the timeline for a 2.1 release?
Thanks,
Matt
[1] http://issues.appfuse.org/browse/APF-797
[2] http://cwiki.apache.org/CXF20DOC/xfire-migration-guide.html
--
View this message in context: http://www.nabble.com/Upgrading-from-XFire-to-CXF-tp14319236p14319236.html
Sent from the cxf-user mailing list archive at Nabble.com.
Re: Upgrading from XFire to CXF
Posted by mraible <ma...@raibledesigns.com>.
Most of the bloat was caused by Maven and transitive dependencies. I wrote it
up in a blog post and optimized in a JIRA issue.
http://raibledesigns.com/rd/entry/jar_hell_with_xfire_1
http://issues.appfuse.org/browse/APF-797
Matt
Dain Sundstrom wrote:
>
> I think having XmlBeans support would be great, but I'm confused by
> your footprint motivation. After a quick inspection, XmlBeans is
> ~2.7 times as big as Jaxb impl:
>
> [01:50:46] dain$ ls -lh ~/.m2/repository/com/sun/xml/bind/jaxb-impl/
> 2.0.5/jaxb-impl-2.0.5.jar
> -rw-r--r-- 1 dain dain 769K Jun 24 13:38 /Users/dain/.m2/
> repository/com/sun/xml/bind/jaxb-impl/2.0.5/jaxb-impl-2.0.5.jar
>
> [10:41:51] dain$ ls -lh ~/.m2/repository/org/apache/xmlbeans/xmlbeans/
> 2.3.0/xmlbeans-2.3.0.jar
> -rw-r--r-- 1 dain dain 2M Oct 19 22:16 /Users/dain/.m2/
> repository/org/apache/xmlbeans/xmlbeans/2.3.0/xmlbeans-2.3.0.jar
>
> And since Java6 includes JaxB, overtime you will be able to drop that
> also.
>
> Anyway, I think having XmlBean support is cool... I'm just a bit
> confused about the footprint comment.
>
> -dain
>
> On Dec 13, 2007, at 8:19 AM, mraible wrote:
>
>>
>> We are currently using XFire in the AppFuse project and it works
>> great.
>>
>> We are aware that Apache CXF is the next generation of XFire.
>> However, we've
>> also optimized the XFire footprint[1] to be as small as possible.
>> Part of
>> this optimization was removing JAXB 2 support and using XMLBeans
>> instead.
>> The XFire Migrating Guide[2] says that XMLBeans will be supported
>> in CXF
>> 2.1.
>>
>> What is the timeline for a 2.1 release?
>>
>> Thanks,
>>
>> Matt
>>
>> [1] http://issues.appfuse.org/browse/APF-797
>> [2] http://cwiki.apache.org/CXF20DOC/xfire-migration-guide.html
>> --
>> View this message in context: http://www.nabble.com/Upgrading-from-
>> XFire-to-CXF-tp14319236p14319236.html
>> Sent from the cxf-user mailing list archive at Nabble.com.
>>
>
>
>
--
View this message in context: http://www.nabble.com/Upgrading-from-XFire-to-CXF-tp14319236p14372555.html
Sent from the cxf-user mailing list archive at Nabble.com.
Re: Upgrading from XFire to CXF
Posted by Dain Sundstrom <da...@iq80.com>.
I think having XmlBeans support would be great, but I'm confused by
your footprint motivation. After a quick inspection, XmlBeans is
~2.7 times as big as Jaxb impl:
[01:50:46] dain$ ls -lh ~/.m2/repository/com/sun/xml/bind/jaxb-impl/
2.0.5/jaxb-impl-2.0.5.jar
-rw-r--r-- 1 dain dain 769K Jun 24 13:38 /Users/dain/.m2/
repository/com/sun/xml/bind/jaxb-impl/2.0.5/jaxb-impl-2.0.5.jar
[10:41:51] dain$ ls -lh ~/.m2/repository/org/apache/xmlbeans/xmlbeans/
2.3.0/xmlbeans-2.3.0.jar
-rw-r--r-- 1 dain dain 2M Oct 19 22:16 /Users/dain/.m2/
repository/org/apache/xmlbeans/xmlbeans/2.3.0/xmlbeans-2.3.0.jar
And since Java6 includes JaxB, overtime you will be able to drop that
also.
Anyway, I think having XmlBean support is cool... I'm just a bit
confused about the footprint comment.
-dain
On Dec 13, 2007, at 8:19 AM, mraible wrote:
>
> We are currently using XFire in the AppFuse project and it works
> great.
>
> We are aware that Apache CXF is the next generation of XFire.
> However, we've
> also optimized the XFire footprint[1] to be as small as possible.
> Part of
> this optimization was removing JAXB 2 support and using XMLBeans
> instead.
> The XFire Migrating Guide[2] says that XMLBeans will be supported
> in CXF
> 2.1.
>
> What is the timeline for a 2.1 release?
>
> Thanks,
>
> Matt
>
> [1] http://issues.appfuse.org/browse/APF-797
> [2] http://cwiki.apache.org/CXF20DOC/xfire-migration-guide.html
> --
> View this message in context: http://www.nabble.com/Upgrading-from-
> XFire-to-CXF-tp14319236p14319236.html
> Sent from the cxf-user mailing list archive at Nabble.com.
>
Re: Upgrading from XFire to CXF
Posted by Daniel Kulp <dk...@apache.org>.
On Friday 14 December 2007, Bernd Schuller wrote:
> that is absolutely great news, XmlBeans finally in the works!
>
> I'd be glad to provide some testing cycles. Is there
> a good way to not have to compile *all* of CXF for this?
> Sort of like a recommendation for a limited environment for
> XmlBeans development?
Well, you can always download the snapshot kits and just use them. I try
to deploy new snapshots every couple of days.
That said, if you checkout cxf from SVN, building the entire thing is
fairly quick if you do "mvn install -Pfastinstall". (use the
fastinstall profile we have) That skips all kinds of stuff like
running tests, code styles and warning checks, etc.... Once you do
that once, you can then cd to the rt/databindings/xmlbeans dir and just
run mvn from there as you work in there.
Dan
>
> Thanks a lot ,
> Bernd.
>
> Daniel Kulp wrote:
> > Ooooooooooo......... Just the person I need to chat more with.
> > :-)
> >
> > Seriously, I've started writing an XmlBeans databinding for CXF.
> > It's on the 2.1 trunk right now. However, it's VERY limitted in
> > what it can do right now. I'm by far NOT an XmlBeans expert (the
> > first time I looked at XmlBeans was to start writing this data
> > binding) so I'm not really sure what the expectation are around
> > this. If you have some sample services/test cases I could throw at
> > it, that would be great.
> >
> > THAT said, I don't think there is any way you are going to remove
> > the JAXB runtime from CXF. CXF uses it internally for parsing all
> > kinds of configuration things, wsdl extensions, etc...
> >
> > Dan
> >
> > On Thursday 13 December 2007, mraible wrote:
> >> We are currently using XFire in the AppFuse project and it works
> >> great.
> >>
> >> We are aware that Apache CXF is the next generation of XFire.
> >> However, we've also optimized the XFire footprint[1] to be as small
> >> as possible. Part of this optimization was removing JAXB 2 support
> >> and using XMLBeans instead. The XFire Migrating Guide[2] says that
> >> XMLBeans will be supported in CXF 2.1.
> >>
> >> What is the timeline for a 2.1 release?
> >>
> >> Thanks,
> >>
> >> Matt
> >>
> >> [1] http://issues.appfuse.org/browse/APF-797
> >> [2] http://cwiki.apache.org/CXF20DOC/xfire-migration-guide.html
--
J. Daniel Kulp
Principal Engineer, IONA
dkulp@apache.org
http://www.dankulp.com/blog
Re: Upgrading from XFire to CXF
Posted by Bernd Schuller <b....@fz-juelich.de>.
Hi Dan,
that is absolutely great news, XmlBeans finally in the works!
I'd be glad to provide some testing cycles. Is there
a good way to not have to compile *all* of CXF for this?
Sort of like a recommendation for a limited environment for
XmlBeans development?
Thanks a lot ,
Bernd.
Daniel Kulp wrote:
> Ooooooooooo......... Just the person I need to chat more with. :-)
>
> Seriously, I've started writing an XmlBeans databinding for CXF. It's
> on the 2.1 trunk right now. However, it's VERY limitted in what it can
> do right now. I'm by far NOT an XmlBeans expert (the first time I
> looked at XmlBeans was to start writing this data binding) so I'm not
> really sure what the expectation are around this. If you have some
> sample services/test cases I could throw at it, that would be great.
>
> THAT said, I don't think there is any way you are going to remove the
> JAXB runtime from CXF. CXF uses it internally for parsing all kinds of
> configuration things, wsdl extensions, etc...
>
> Dan
>
>
> On Thursday 13 December 2007, mraible wrote:
>> We are currently using XFire in the AppFuse project and it works
>> great.
>>
>> We are aware that Apache CXF is the next generation of XFire. However,
>> we've also optimized the XFire footprint[1] to be as small as
>> possible. Part of this optimization was removing JAXB 2 support and
>> using XMLBeans instead. The XFire Migrating Guide[2] says that
>> XMLBeans will be supported in CXF 2.1.
>>
>> What is the timeline for a 2.1 release?
>>
>> Thanks,
>>
>> Matt
>>
>> [1] http://issues.appfuse.org/browse/APF-797
>> [2] http://cwiki.apache.org/CXF20DOC/xfire-migration-guide.html
>
>
>
--
Dr. Bernd Schuller | mail: b.schuller@fz-juelich.de
| phone: +49 2461 61-8736 (fax: -6656)
Distributed Systems and Grid Computing | personal blog:
Juelich Supercomputing Centre | http://www.jroller.com/page/gridhaus
http://www.fz-juelich.de/jsc |
-------------------------------------------------------------------
-------------------------------------------------------------------
Forschungszentrum Jülich GmbH
52425 Jülich
Sitz der Gesellschaft: Jülich
Eingetragen im Handelsregister des Amtsgerichts Düren Nr. HR B 3498
Vorsitzende des Aufsichtsrats: MinDirig'in Bärbel Brumme-Bothe
Geschäftsführung: Prof. Dr. Achim Bachem (Vorsitzender),
Dr. Ulrich Krafft (stellv. Vorsitzender), Dr. Sebastian M. Schmidt
-------------------------------------------------------------------
-------------------------------------------------------------------
Re: Upgrading from XFire to CXF
Posted by Daniel Kulp <dk...@apache.org>.
Ooooooooooo......... Just the person I need to chat more with. :-)
Seriously, I've started writing an XmlBeans databinding for CXF. It's
on the 2.1 trunk right now. However, it's VERY limitted in what it can
do right now. I'm by far NOT an XmlBeans expert (the first time I
looked at XmlBeans was to start writing this data binding) so I'm not
really sure what the expectation are around this. If you have some
sample services/test cases I could throw at it, that would be great.
THAT said, I don't think there is any way you are going to remove the
JAXB runtime from CXF. CXF uses it internally for parsing all kinds of
configuration things, wsdl extensions, etc...
Dan
On Thursday 13 December 2007, mraible wrote:
> We are currently using XFire in the AppFuse project and it works
> great.
>
> We are aware that Apache CXF is the next generation of XFire. However,
> we've also optimized the XFire footprint[1] to be as small as
> possible. Part of this optimization was removing JAXB 2 support and
> using XMLBeans instead. The XFire Migrating Guide[2] says that
> XMLBeans will be supported in CXF 2.1.
>
> What is the timeline for a 2.1 release?
>
> Thanks,
>
> Matt
>
> [1] http://issues.appfuse.org/browse/APF-797
> [2] http://cwiki.apache.org/CXF20DOC/xfire-migration-guide.html
--
J. Daniel Kulp
Principal Engineer
IONA
P: 781-902-8727 C: 508-380-7194
daniel.kulp@iona.com
http://www.dankulp.com/blog