0

I need to write a java program that sends objects over the network to a client program. The problem is that some of the objects that need to be sent are not serializable. How is this best tackled?

Samantha Catania
  • 5,116
  • 5
  • 39
  • 69
  • You might have your answer here: http://stackoverflow.com/questions/95181/java-serialization-with-non-serializable-parts – Nivas Oct 18 '11 at 08:08

2 Answers2

1

Send the data needed to reconstruct the objects on the clientside.

Jonas B
  • 2,351
  • 2
  • 18
  • 26
1

In enterprise world there is a special pattern Transfer object pattern. It suits your case ideally.

WeMakeSoftware
  • 9,039
  • 5
  • 34
  • 52