I have String array object. Lets say

```
String[] names = new String[7];

```

And I am also making this object persistent by storing it into file using ObjectOutputStream on my client system. I am reading the stored object using ObjectInputStream. Upto this Okay. Now I want to send this object to another system over socket.

How to do it? Please help. Thanks.