Hi,
I don't know for the other but my
IDE (Eclipse) warn about all the sources because classes are serializable (or have to be serialized) and do not implements the final static long serialVersionUID member.
I tested on my personal project to follow what
J2EE says about Serialization and I was surprise by the result.
If you follow the rule to create this member, first you have to implement java.io.Serializable for all child object implemented in these classes. And for all of them you have to create the member serialVersionUID (because you implements java.io.Serializable). My IDE proposes to generate it for me automatically and this is very useful to correct it fast (quick fix on warning messages).
The result is that when someone is in the website, with objects in session, especially for a forum such as JForum, if for any reason the server restart, if the user stays on the same window - same session so, the user will not loose all the info (connected info, post, etc...). The server restored them for him automatically (principe of Serialization is to store phisically status of object).
So I suggest to implement this for the next version. Personnaly, I already implement it for JForum in 30minutes and it's powerfull
[originally posted on jforum.net by Blackwings]