Re: Questions about Serialization...

2009-12-09 Thread Yves-Marie LAINÉ
Yes, we are ok, we should put Serializable in session. (But put Serializable in Session doesn't mean to put Serialized in Session) And it seems that wicket Serialize each Page one by one. This way if you have a single object instance that you share between pages as object property, after pages

Re: Questions about Serialization...

2009-12-09 Thread Marat Radchenko
2009/12/9 Yves-Marie LAINÉ ymla...@gmail.com: (But put Serializable in Session doesn't mean to put Serialized in Session) Uh? And it seems that wicket Serialize each Page one by one. This way if you have a single object instance that you share between pages as object property, after pages

Re: Questions about Serialization...

2009-12-09 Thread Yves-Marie LAINÉ
Thanks you for the advices. I wasn't using Model in this precise case. I thought using Model was a best practice, to save memory. Indeed I understand that using Mdel is mandatory, if you want avoid strange behaviour. IMHO using LoadableDetachableModel is an extra cost, (cpu, time, design) not

Re: Questions about Serialization...

2009-12-09 Thread Marat Radchenko
I wasn't using Model in this precise case. I thought using Model was a best practice, to save memory. Choosing proper model isn't (almost always) about performance, it's about logic. You _have_ to use plain serializing model for data that isn't stored anywhere else. You _have_ to use LDM in

Re: Questions about Serialization...

2009-12-09 Thread Lionel Port
Probably the answer to the original question is just use HttpSessionStore. Its similar issue to when deploying to GAE where you don't have a disk to serialise to. regards, Lionel On Thu, Dec 10, 2009 at 4:13 AM, Marat Radchenko slonopotamusor...@gmail.com wrote:  I wasn't using Model in this

Re: Questions about Serialization...

2009-12-08 Thread Martin Makundi
Where do you keep your data between pages if not in session? ** Martin 2009/12/8 Yves-Marie LAINÉ ymla...@gmail.com: Hi, I'm new on the list, sorry if my question has already been asked. I didn't find the right answer on google. Is it possible tu use wicket without Page serialization ? If

Re: Questions about Serialization...

2009-12-08 Thread Igor Vaynberg
you can create your own ISessionStore implementation that keeps all objects in memory. -igor 2009/12/8 Yves-Marie LAINÉ ymla...@gmail.com: Hi, I'm new on the list, sorry if my question has already been asked. I didn't find the right answer on google. Is it possible tu use wicket without

Re: Questions about Serialization...

2009-12-08 Thread Marat Radchenko
2009/12/8 Yves-Marie LAINÉ ymla...@gmail.com: Hi, I'm new on the list, sorry if my question has already been asked. I didn't find the right answer on google. Is it possible tu use wicket without Page serialization ? It is. Use only stateless components. Technically, is it possible to