Hi Craig,
I think this is a good idea, since it would allow storing a
PersistenceManager as a session attribute (for whatever purpose). The
interesting question is whether any caches get serialized along with the
PersistenceManager? What happens with cached persistent instances of a
non-serializable class?
Regards Michael
Javadogs,
For easier development of web applications, it would be nice if
PersistenceManager were Serializable. There is nothing stopping an
implementation from declaring that their implementation extends
Serializable, but the behavior is implementation-specific.
For the maintenance release, I'd like to see if we can agree on the
behavior of serializing a PersistenceManager if it does implement
Serializable.
Craig
Craig Russell
Architect, Sun Java Enterprise System http://java.sun.com/products/jdo
408 276-5638 mailto:[EMAIL PROTECTED]
P.S. A good JDO? O, Gasp!
--
Michael Bouschen [EMAIL PROTECTED] Engineering GmbH
mailto:[EMAIL PROTECTED] http://www.tech.spree.de/
Tel.:++49/30/235 520-33 Buelowstr. 66
Fax.:++49/30/2175 2012 D-10783 Berlin