Be careful about XStream in general.  We have had some serious problems here
with undiagnosable memory leaks.  This thread might explain why.
http://www.nabble.com/PermGen-Space---OutOfMemory%2C-A-solution-tf3674694.html

On 7/19/07, Davor Hrg <[EMAIL PROTECTED]> wrote:

I'was looking few days for libraries like that and it came down to xstream
and sojo,

finaly sojo seems most attractive since xstream is xml centric in desing
and
goals (to get json it uses xml as intermediate).

sojo handles
  xml,
  json,
  POJO, or Beans
  core java(HashMap/List/Integer...)

Bean->HashMap conversion can be an useful intermediate for a
parser/serializer,
or for apache xmlrpc.

sojo is also rather new, and it can be a risk for tapestry to depend on
it.

anyhow, sojo approach seems very attractive to me, and I hope a similar
library will be used, or similar approach will be taken in T5 (something
with generics and Annotations perhaps).

Davor Hrg


On 7/19/07, D&J Gredler <[EMAIL PROTECTED]> wrote:
>
> I've heard good things about XStream, but I haven't used any of them
> personally.
>
>
> On 7/19/07, Davor Hrg <[EMAIL PROTECTED]> wrote:
> >
> > Hi,
> >
> > howard has mentioned he's taking on AJAX for T5 next.
> > In light of that and some projects I'm currently working on,
> > I've started writing a POJO serialization code to serialize
> > config from and to java, xml and JSON...
> >
> > howeever there are several libraries doing this exact thing:
> > http://sojo.sourceforge.net/
> > http://json-lib.sourceforge.net/
> > http://xstream.codehaus.org/index.html
> >
> > has anyone explored one of these,
> > can you recommend something else
> >
> > Davor Hrg
> >
>
>
>
> --
> Daniel Gredler
> http://daniel.gredler.net/
>




--
Gotta find my destiny, before it gets too late.-- Ian Curtis

Reply via email to