Indeed Castor is more portable than XStream. But XStream is stronger and
more simpler.
So you have to bear it's slightly bigger size.
But I find all the dependency jars of XStream are about 3m not 5m. And
cglib-nodep-2.1_3.jar,dom4j-1.6.1.jar,jdom-1.0.jar may be also used in other
place.

Cheers
Guoguo Long



2007/9/1, Angelo Chen <[EMAIL PROTECTED]>:
>
>
> Hi Jonathan,
>
> I tried XStream as suggested by 蝈蝈龙, it works, but library size is big
> around 5mb added, how big is the Castor? one nice thing about XSream is, I
> don't have to write any xml mapping, same with Castore? Thanks.
>
> A.C.
>
> Jonathan Barker wrote:
> >
> >
> > Try Castor at www.castor.org
> >
> > It's a Java <-> XML tool that favors the Java side.  It's easy by
> default,
> > but can be very flexible. I use this the most.
> >
> > If you want to favor the XML side, then XMLBeans at Apache would be
> > better.
> >
> > JB
> >
> >
> >> -----Original Message-----
> >> From: Angelo Chen [mailto:[EMAIL PROTECTED]
> >> Sent: Friday, August 31, 2007 9:12 PM
> >> To: users@tapestry.apache.org
> >> Subject: T5: POJO to xml lib
> >>
> >>
> >> Hi,
> >>
> >> I have this need to write/read some java objects to xml files in T5,
> can
> >> anybody recommend one that works? Thanks.
> >>
> >> A.C.
> >> --
> >> View this message in context:
> >> http://www.nabble.com/T5%3A-POJO-to-xml-lib-
> >> tf4363192.html#a12436353
> >> Sent from the Tapestry - User mailing list archive at Nabble.com.
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/T5%3A-POJO-to-xml-lib-tf4363192.html#a12437499
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to