Chat implemented in Java using Socket and Serializable interface.