How does serialization work?
The entities are marked with SerializableAttribute, and the change tracking is embedded, so they can be sent using old legacy Soap/Binary serialization. We don’t use DataContractsSerialization in the service that communicates with the client application, so these services are not ‘SOA’. We use NetDataContractSerialization instead. That’s why we can send full graphs full graphs to the client application, and we have change tracking and validation in there as well. Also, we don’t have to decorate the entities with DataContract.
Related Questions
- Why am I having an InvalidClassException thrown during the serialization of my object which implements the Externalizable interface?
- IS SERIALIZATION OR COLOR CODING A VIABLE WAY TO DIFFERENTIATE ONE SLING FROM ANOTHER IN THE EVENT THEY WERE IDENTICAL MODELS?
- Are there any system properties in Java that affect Serialization?