Re: Datanode -> XML

2007-03-10 Thread Aristedes Maniatis
For the mail list archives, here are some approaches suggested (thank you!) that we will be investigating further: * Connect Cayenne to an XML database source [1] and using a Cayenne script called cdataport move data [2] between the main SQL database and the XML 'database'. Looks like we'd

Re: lifecycle callbacks and ROP

2007-03-10 Thread Andrus Adamchik
On Mar 10, 2007, at 2:15 AM, Aristedes Maniatis wrote: On 10/03/2007, at 10:13 AM, Tore Halset wrote: Hello. I am a lifecycle callbacks newbie trying to understand http:// cwiki.apache.org/CAYDOC/lifecycle-callbacks.html in a ROP context. Can the callback methods be defined in the client

Re: Datanode -> XML

2007-03-10 Thread Peter Karich
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 d