You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Sam Hough <sa...@redspr.com> on 2008/03/12 15:48:52 UTC

Serialisation/serialization documentation?

Dear All,

I'm trying to get a better understanding off when/how/where Wicket
serialises components and non-transient/non-static references they hold. To
tune and sanity check our application.

Playing with writeObject, readObject I can see it writing on every ajax
request but only reading when I restart Tomcat (with serialised session
store).

I've searched around (with both spellings) but not found a recent
explanation of this.

Many thanks. I'll try not to post twice!

Thanks

Sam
-- 
View this message in context: http://www.nabble.com/Serialisation-serialization-documentation--tp16002654p16002654.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Serialisation/serialization documentation?

Posted by Eelco Hillenius <ee...@gmail.com>.
On Wed, Mar 12, 2008 at 9:44 AM, Sam Hough <sa...@redspr.com> wrote:
>
>  Thanks Sebastiaan,
>
>  How does serialisation kick in when using Ajax? ie Same page all the time

Same page but different versions. Each page version is separately serialized.

Eelco

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Serialisation/serialization documentation?

Posted by Sam Hough <sa...@redspr.com>.
Thanks Sebastiaan,

How does serialisation kick in when using Ajax? ie Same page all the time


Sebastiaan van Erk wrote:
> 
> Look for page store in the archives and the IPageStore interface.
> 
> To get your application to deserialize stuff, simply press the back 
> button on a wicket page, and click on a wicket link in the resulting 
> page. That should get your page loaded from the page store.
> 
> Regards,
> Sebastiaan
> 
> Sam Hough wrote:
>> Dear All,
>> 
>> I'm trying to get a better understanding off when/how/where Wicket
>> serialises components and non-transient/non-static references they hold.
>> To
>> tune and sanity check our application.
>> 
>> Playing with writeObject, readObject I can see it writing on every ajax
>> request but only reading when I restart Tomcat (with serialised session
>> store).
>> 
>> I've searched around (with both spellings) but not found a recent
>> explanation of this.
>> 
>> Many thanks. I'll try not to post twice!
>> 
>> Thanks
>> 
>> Sam
> 
>  
> 

-- 
View this message in context: http://www.nabble.com/Serialisation-serialization-documentation--tp16002654p16007427.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Serialisation/serialization documentation?

Posted by Sebastiaan van Erk <se...@sebster.com>.
Look for page store in the archives and the IPageStore interface.

To get your application to deserialize stuff, simply press the back 
button on a wicket page, and click on a wicket link in the resulting 
page. That should get your page loaded from the page store.

Regards,
Sebastiaan

Sam Hough wrote:
> Dear All,
> 
> I'm trying to get a better understanding off when/how/where Wicket
> serialises components and non-transient/non-static references they hold. To
> tune and sanity check our application.
> 
> Playing with writeObject, readObject I can see it writing on every ajax
> request but only reading when I restart Tomcat (with serialised session
> store).
> 
> I've searched around (with both spellings) but not found a recent
> explanation of this.
> 
> Many thanks. I'll try not to post twice!
> 
> Thanks
> 
> Sam

Re: Serialisation/serialization documentation?

Posted by Sebastiaan van Erk <se...@sebster.com>.
I just remember Johan gave a presentation about this at the last WUG in 
Amsterdam:

http://www.slideshare.net/jcompagner/session-stores-page-maps-and-pages

Regards,
Sebastiaan

Sam Hough wrote:
> Dear All,
> 
> I'm trying to get a better understanding off when/how/where Wicket
> serialises components and non-transient/non-static references they hold. To
> tune and sanity check our application.
> 
> Playing with writeObject, readObject I can see it writing on every ajax
> request but only reading when I restart Tomcat (with serialised session
> store).
> 
> I've searched around (with both spellings) but not found a recent
> explanation of this.
> 
> Many thanks. I'll try not to post twice!
> 
> Thanks
> 
> Sam