15
What is the main reason of using a javax.activation.DataHandler?
Is it to facilitate the transfer of objects, that do not implement Serializable, over the network?
I.e. for instance I have seen the conversion of files, from local file systems, to bytes and then create a DataHandler with these bytes and transfer the DataHandler over the network.
Is this the reason that one would use DataHandler?