With the advent of the 2.2 Servlet Spec, and the new requirement that all objects placed into a Session be Serializable, servlet developers (among others--it's not just a Servlet issue) are staring down a dilemma: certain objects, like JDBC Connections, are natural things to want to store in a container that may be Serialized, but storing a non-Serializable object in a container or object that's about to be Serialized is a recipe for disaster.
Keywords: Java Serialization
Download the Paper (PDF format)
Download the Paper (HTML format)
Download the Code (Note that the code makes heavy
use of the Ant build tool for building and
running the examples within the paper.)