Hello,
I have a class that is stored on the 'server' and multiple clients can call this method. This method returns a class. Now when clients call accessor methods within this class for example a set accessor method. I want the object on the server to be updated and synchronized across all the other clients.
How do I use:
public synchronized setStatus(String s) { this.status = s; }
within java to achieve this.
Thanks