http://java.sun.com/javase/6/docs/platform/serialization/spec/protocol.html
-igor On Fri, Nov 13, 2009 at 10:27 AM, Pamir Erdem <[email protected]> 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 <[email protected]>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 <[email protected]> >> 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 <[email protected]> >> > >> >> 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: [email protected] >> >> For additional commands, e-mail: [email protected] >> >> >> >> >> > >> > >> > -- >> > Pamir Erdem >> > >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> > > > -- > Pamir Erdem > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
