XML Serialization Wicket
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 tree depth is high what you have to do is just increasing the java argument Xss or changing the serialization method from DOM to SAX Thanks -- Pamir Erdem
Re: XML Serialization Wicket
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 change the serialization type from DOM Serialization to SAX Serialization in these classes ? If serialization of an object seralization tree depth is high what you have to do is just increasing the java argument Xss or changing the serialization method from DOM to SAX Thanks -- Pamir Erdem - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: XML Serialization Wicket
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 object seralization tree depth is high what you have to do is just increasing the java argument Xss or changing the serialization method from DOM to SAX For debugging purposes in dev environments, once a serialized Page Size exceeds a certain limit, we produce XML via XStream in order to be able to look at it. Is this what you´re looking for? cu uwe - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: XML Serialization Wicket
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: 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 tree depth is high what you have to do is just increasing the java argument Xss or changing the serialization method from DOM to SAX For debugging purposes in dev environments, once a serialized Page Size exceeds a certain limit, we produce XML via XStream in order to be able to look at it. Is this what you´re looking for? cu uwe - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Pamir Erdem
Re: XML Serialization Wicket
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 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: 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 tree depth is high what you have to do is just increasing the java argument Xss or changing the serialization method from DOM to SAX For debugging purposes in dev environments, once a serialized Page Size exceeds a certain limit, we produce XML via XStream in order to be able to look at it. Is this what you´re looking for? cu uwe - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Pamir Erdem - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: XML Serialization Wicket
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: 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 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: 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 tree depth is high what you have to do is just increasing the java argument Xss or changing the serialization method from DOM to SAX For debugging purposes in dev environments, once a serialized Page Size exceeds a certain limit, we produce XML via XStream in order to be able to look at it. Is this what you´re looking for? cu uwe - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Pamir Erdem - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Pamir Erdem
Re: XML Serialization Wicket
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 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: 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 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: 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 tree depth is high what you have to do is just increasing the java argument Xss or changing the serialization method from DOM to SAX For debugging purposes in dev environments, once a serialized Page Size exceeds a certain limit, we produce XML via XStream in order to be able to look at it. Is this what you´re looking for? cu uwe - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Pamir Erdem - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Pamir Erdem -- Pamir Erdem
Re: XML Serialization Wicket
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 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: 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 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: 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 tree depth is high what you have to do is just increasing the java argument Xss or changing the serialization method from DOM to SAX For debugging purposes in dev environments, once a serialized Page Size exceeds a certain limit, we produce XML via XStream in order to be able to look at it. Is this what you´re looking for? cu uwe - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Pamir Erdem - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Pamir Erdem - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: XML Serialization Wicket
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 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 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: 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 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: 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 tree depth is high what you have to do is just increasing the java argument Xss or changing the serialization method from DOM to SAX For debugging purposes in dev environments, once a serialized Page Size exceeds a certain limit, we produce XML via XStream in order to be able to look at it. Is this what you´re looking for? cu uwe - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Pamir Erdem - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Pamir Erdem -- Pamir Erdem - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: XML Serialization Wicket
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 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 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.com wrote: 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 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: 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 tree depth is high what you have to do is just increasing the java argument Xss or changing the serialization method from DOM to SAX For debugging purposes in dev environments, once a serialized Page Size exceeds a certain limit, we produce XML via XStream in order to be able to look at it. Is this what you´re looking for? cu uwe - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Pamir Erdem - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Pamir Erdem -- Pamir Erdem - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Pamir Erdem