Initial implementation in mpiJava used ObjectOutputStream and ObjectInputStream classes from JDK. |
Data serialized and sent as a byte vector, using MPI. |
Length of byte data not known in advance. Encoded in a separate header so space can be allocated dynamically in receiver. |