Hi,
I have an entity class which I would like to write from one machine to another using sockets. As each machine has a separate copy of the entity class (identical except for package declaration) a ClassCastException will be throw; it seems the only way I could do this is by extracting the data from within the entities, sending the data, then rebuilding the entities on the receiving machine, however I am sure many people must have had to do this in the past so I was wondering if there were any better solutions?
Thanks very much for your help