Suppose there is a server that has 2 main methods: return the value of a variable and update its value. And there is a client who sends a request and receives either a value or a notification that the data is received. How to organize this? What to transmit over the network? Plain text? Serialized objects with server instructions?
PS.: The best answer is a link to some article or manual ...