Fixed the Null Exception in the client and server. Implemented the PrintWriter and fixed the Input and outputStreas. The notification of watch is not working . The connection is  more stable. The run method of ClientHandler is not executed properly.