simple chat using spring framework and NIO