Worked example with RMI technology, which will be changed to our chat