Java Serializable Object to Byte Array
- by ikurtz
(im new to java)
from my searches for Serialization in Java most of the examples document writing to a file or reading from one.
my question is lets say i have a serializable class AppMessage.
I would like to transmit it as byte[] over sockets to another machine where it is rebuilt from bytes received.
how could i achieve this please?
thanks for your insight in advance.