A chat room demo in java.