You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rave.apache.org by Gonzalo Aguilar Delgado <ga...@aguilardelgado.com> on 2013/02/27 20:46:08 UTC
Serializable Models
Hello,
What do you think about adding "implements Serializable" to all model
classes.
It will be great since they will express the serializable condition of
this classes. If it does not break anything will help a lot.
What do you think?
Re: Serializable Models
Posted by Gonzalo Aguilar Delgado <ga...@aguilardelgado.com>.
It will allow wicket to serialize the models instead of storing them in
memory. So they can be persisted to disk over requests.
I will try to submit a patch with a bug request (improvement).
El mié, 27-02-2013 a las 15:13 -0700, Chris Geer escribió:
> On Wed, Feb 27, 2013 at 12:49 PM, Matt Franklin <m....@gmail.com>wrote:
>
> > On Wednesday, February 27, 2013, Gonzalo Aguilar Delgado wrote:
> >
> > > Hello,
> > >
> > > What do you think about adding "implements Serializable" to all model
> > > classes.
> > >
> > > It will be great since they will express the serializable condition of
> > > this classes. If it does not break anything will help a lot.
> > >
> > > What do you think?
> >
> >
> > Conceptually, I would be on board with this. Other thoughts?
> >
>
> I can't think of any reason why this would break anything. Serialized model
> objects would allow us to do things like ehcache if needed.
Re: Serializable Models
Posted by Chris Geer <ch...@cxtsoftware.com>.
On Wed, Feb 27, 2013 at 12:49 PM, Matt Franklin <m....@gmail.com>wrote:
> On Wednesday, February 27, 2013, Gonzalo Aguilar Delgado wrote:
>
> > Hello,
> >
> > What do you think about adding "implements Serializable" to all model
> > classes.
> >
> > It will be great since they will express the serializable condition of
> > this classes. If it does not break anything will help a lot.
> >
> > What do you think?
>
>
> Conceptually, I would be on board with this. Other thoughts?
>
I can't think of any reason why this would break anything. Serialized model
objects would allow us to do things like ehcache if needed.
Re: Serializable Models
Posted by Matt Franklin <m....@gmail.com>.
On Wednesday, February 27, 2013, Gonzalo Aguilar Delgado wrote:
> Hello,
>
> What do you think about adding "implements Serializable" to all model
> classes.
>
> It will be great since they will express the serializable condition of
> this classes. If it does not break anything will help a lot.
>
> What do you think?
Conceptually, I would be on board with this. Other thoughts?