Last year as part of some supervision work I created a very basic client/server network chat application in Java, named SimpleChat. Somebody may find this useful, so I’m posting it here. In terms of design, SimpleChat uses Java RMI (remote method invocation) and the observer design pattern to transfer messages. This means the code is pretty neat because it avoids having to work on the socket level.
It’s simple to use so no documentation is required, although somewhat feature limited. A possible redeeming factor is that the Jar file is only 9.33kB – which includes both client and server functionality.
Source download: SimpleChat-1.0.1
Application download: SimpleChat-1.0.1.jar