After completing my application, my teacher told me I can't use serialization. I currently send objects using the writeObject / readObject methods.
What's the easiest way of transitioning from this to something else? I'm thinking:
in = new BufferedReader(new InputStreamReader(socket.getInputStream())); out = new PrintWriter(new BufferedWriter( new OutputStreamWriter( socket.getOutputStream())),true);
Then, I'd have a MyClass.ToString() method for getting a String representation of my object and then calling:
Is this okay? or does this also inflate packets?