A Java-based chat system