The serialVersionUID is used in JVM to determine the class type if the
signature is the same when unserializing. So if you don't have components
with the same package + classname combination - then no worries.

Žilvinas Vilutis

Mobile:   (+370) 652 38353
E-mail:   [email protected]


On Sat, May 8, 2010 at 4:12 AM, Joe Fawzy <[email protected]> wrote:

> Hi all
>
> what are the side effects of setting serialVersionUID  on all page classes
> and components
> private static final long serialVersionUID = 1L;
>
> i am developing an application which will be deployed on appengine
> appengine handle sessions by storing them in the memcache and data store as
> there is no local filesystem
> for its memcache everything must be Serializable, and as the session is
> stored in the datastore , your session may last for several weeks even if
> the web container expires it
> Ok, when i develop my classes may change a lot hence the
> auto serialVersionUID changes, making appengine complain as its session
> does
> not expires
>
> anyway , i think setting private static final long serialVersionUID = 1L;
> on
> every component will resolve it on appengine side,
> but ,what about wicket side? does it have any implications or side effects?
>
> thanks
> Joe
>

Reply via email to