Apache JDO Project - Serialization of PersistenceManagers

This is Interesting: Free IT Magazines  
Home > Archive > Apache JDO Project > October 2007 > Serialization of PersistenceManagers





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Serialization of PersistenceManagers
Craig L Russell

2007-10-26, 7:11 pm

Erik Bengtson

2007-10-29, 7:11 pm

>This is one of the last items before we release JDO 2.1.

>We need to specify the behavior of a persistence manager if it
>implements Serializable and its writeObject method is called.


Couple of questions.

Portability:
Do we look after portability on serialization? I mean, can PM of
implementation A be serialized and deserialized using implementation B?

Transaction:
Can we serialize while there is an ongoing pessimistic transaction?
Can we serialize while there is an ongoing optimistic transaction?
Do we suspend the transaction on serialize and resume on deserialize?

NonTransactionWrite:
What happens if the PC objects are not serializable?

Listeners:
What about the listeners?
if user classes are not defined in the other JVM, do we allow partial
deserialization?

Environment configuration:
I imagine that we have to serialize the PMF too, so if a connection defined
at PMF has username and password, should they be serialized too?

Regards,



Craig L Russell

2007-10-30, 1:11 pm

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com