Quote:
I need to send a reference type object to a different destination/application. Do I need to serialize the object before sending it?; Do we have other alternative available to serialization process in such case?
The alternative is rolling your own serializzation mechanism, that is
- Retrieve all state information of the object.
- Write such information using a protocol common to both the applications (and send it to the other application)
- On the target application side, using the information retrieved, build up a fresh object.
Usually, if an existing serialization mechanism is available, things are a bit easier.