Re: JEP 187: Serialization 2.0 & Serialization-aware constructors

2014-01-30 Thread Robert Stupp
Am 22.01.2014 um 17:33 schrieb "David M. Lloyd" : > The concept of explicit deserialization constructors is interesting and is > something I've explored a little bit in the context of JBoss Marshalling. ... > The idea with a serialization-aware constructor is that each serializable > class cons

Re: JEP 187: Serialization 2.0 & Serialization-aware constructors

2014-01-23 Thread Chris Hegarty
Hi David, This is a nice summary of how object deserialization is working today, and some interesting ideas around serialisation-aware constructors. It seems there is just too much magic in the construction of deserialized objects. All the field values required to fully construct the object are

Re: JEP 187: Serialization 2.0 & Serialization-aware constructors

2014-01-22 Thread David M. Lloyd
On 01/13/2014 06:26 PM, mark.reinh...@oracle.com wrote: Posted: http://openjdk.java.net/jeps/187 The concept of explicit deserialization constructors is interesting and is something I've explored a little bit in the context of JBoss Marshalling. The way construction works today (simple versi