Reputation: 5316
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?
Upvotes: 0
Views: 251
Reputation: 9162
In enterprise world there is a special pattern Transfer object pattern. It suits your case ideally.
Upvotes: 1
Reputation: 2391
Send the data needed to reconstruct the objects on the clientside.
Upvotes: 1