Re: Datanode -> XML

From: Peter Karich (peatha..ahoo.de)
Date: Sat Mar 10 2007 - 09:20:13 EST

  • Next message: Andrus Adamchik: "Re: lifecycle callbacks and ROP"

    Hallo!

    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 {
        os.close();
    }

    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: http://mail.yahoo.de



    This archive was generated by hypermail 2.0.0 : Sat Mar 10 2007 - 09:17:53 EST