namsu55
asked on
Client Server Observer In Java
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.
http://www.developer.com/java/ent/article.php/1356891
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.
http://www.developer.com/java/ent/article.php/1356891
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.
there won't be many of those around, why don't you just fix the error in the one you've got? btw why using Observer, its a bit of a dinosaur.
ASKER
Just so I can send some updates to a few GUI's. View the code not sure why its giving me that error. I cant see what is even wrong with it looks fine.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
That works just testing this code out.
but I answered your question didn't I?