XML Serialization Wicket

2009-11-13 Thread Pamir Erdem
Hi. As you know, Wicket uses disk storage to save web pages by serializing them. PageMap and DiskPageStore classes are examples for it. Is there any way to change the serialization type from DOM Serialization to SAX Serialization in these classes ? If serialization of an object seralization

Re: XML Serialization Wicket

2009-11-13 Thread Martin Makundi
I would never guess that DiskPageStore should waste time producing xml... ** Martin 2009/11/13 Pamir Erdem pamir.er...@gmail.com: Hi. As you know, Wicket uses disk storage to save web pages by serializing them.  PageMap and DiskPageStore classes are examples for it. Is there any way to

Re: XML Serialization Wicket

2009-11-13 Thread Uwe Schäfer
Pamir Erdem schrieb: As you know, Wicket uses disk storage to save web pages by serializing them. PageMap and DiskPageStore classes are examples for it. Is there any way to change the serialization type from DOM Serialization to SAX Serialization in these classes ? If serialization of an

Re: XML Serialization Wicket

2009-11-13 Thread Pamir Erdem
No, I'm not dealing with PageSizes. I'm dealing to decrea stack tree depth in serialization. One way to achieve this converting changing DomSerializer to SAXSerializer. So is there any way to make it possible in wicket ? 2009/11/13 Uwe Schäfer schae...@thomas-daily.de Pamir Erdem schrieb:

Re: XML Serialization Wicket

2009-11-13 Thread Igor Vaynberg
wicket doesnt store pages using xml. we use ObjectOutputStream which uses java's serialization format, not xml. -igor On Fri, Nov 13, 2009 at 6:37 AM, Pamir Erdem pamir.er...@gmail.com wrote: No, I'm not dealing with PageSizes. I'm dealing to decrea stack tree depth in serialization. One way

Re: XML Serialization Wicket

2009-11-13 Thread Pamir Erdem
Sorry for the information that i gave, i tried to explain how wicket stores information. But we really want to know if there is a way to do in SAX way, cause as you know java's default serializer uses DOM Serializer. On Fri, Nov 13, 2009 at 6:07 PM, Igor Vaynberg igor.vaynb...@gmail.comwrote:

Re: XML Serialization Wicket

2009-11-13 Thread Pamir Erdem
Again sorry i sent it too quickly, BinarySerialization is default, but i want to do it in XMLSerializaion and with SAXParse is it possible ? On Fri, Nov 13, 2009 at 8:27 PM, Pamir Erdem pamir.er...@gmail.com wrote: Sorry for the information that i gave, i tried to explain how wicket stores

Re: XML Serialization Wicket

2009-11-13 Thread Igor Vaynberg
http://java.sun.com/javase/6/docs/platform/serialization/spec/protocol.html -igor On Fri, Nov 13, 2009 at 10:27 AM, Pamir Erdem pamir.er...@gmail.com wrote: Sorry for the information that i gave, i tried to explain how wicket stores information. But we really want to know if there is a way to

Re: XML Serialization Wicket

2009-11-13 Thread Igor Vaynberg
sure, you can implement your own ipagestore and save pages however you want. -igor On Fri, Nov 13, 2009 at 10:43 AM, Pamir Erdem pamir.er...@gmail.com wrote: Again sorry i sent it too quickly, BinarySerialization is default, but i want to do it in XMLSerializaion and with SAXParse is it

Re: XML Serialization Wicket

2009-11-13 Thread Pamir Erdem
That's cool thanks On Fri, Nov 13, 2009 at 8:47 PM, Igor Vaynberg igor.vaynb...@gmail.comwrote: sure, you can implement your own ipagestore and save pages however you want. -igor On Fri, Nov 13, 2009 at 10:43 AM, Pamir Erdem pamir.er...@gmail.com wrote: Again sorry i sent it too