I am building a simple client/server application using java sockets and experimenting with the ObjectOutputStream etc.
I have been following the tutorial at this url
You are not writing the object anywhere.
See that link again, somewhere you have to write:
oos.writeObject( new Date() );
In your code you only have
ois.readObject();
That's why