Simple example of using session on RMI.