cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Karich <>
Subject Re: Datanode -> XML
Date Sat, 10 Mar 2007 14:20:13 GMT

I think xstream is very easy to use and it works fine for me.

E.g. use:

XStream xs = new XStream(new DomDriver());
//Xpp instead dom would be faster ...

OutputStream os;

try {
    os = new FileOutputStream(xmlFile);
    xs.toXML(obj, os);
} finally {

For deep object dependency I run into memory problems, but
for simple property based object and one or two relations it is very
good and fast.

Bye, Peter.

Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail:

View raw message