As I've said
here, UDP / DatagramSocket is not a good option for this.
Again, it may still be possible with a lot of luck, by writing the Object[] to a ByteArrayOutputStream wrapped in an ObjectOutputStream, then sending the byte array (in chunks, probably). On the other side you use a ByteArrayInputStream wrapped in an ObjectInputStream to retrieve the Object[]. You'll need to put all chunks back into one large array first.