posted 14 years ago
Just because you declare a class to be serializable doesn't truly make it serializable. To be really serializable, not only does the class itself have to be serializable, so do all members of the class. So if you include a non-serializable object such as HtmlSelectOneMenu in your class, the class will compile with java.io.Serializable implemented, but the serialization process itself will fail.
The secret of how to be miserable is to constantly expect things are going to happen the way that they are "supposed" to happen.
You can have faith, which carries the understanding that you may be disappointed. Then there's being a willfully-blind idiot, which virtually guarantees it.