I want to see a Java example of a Client Server using the Observer design pattern. A server should send client all updates of a variable for example. I am farmilar with the Observer pattern and its Java implementation. Not so good with client server implementation, i have viewed this example so far.
However the ClientThread when I compile it gives me an error saying the catch should not be contained within the try block.
If you have any examples or links that would help me with this more please do let me know.