I would like to write a simple chat application using Java or C++. You are free to use Socket communication or HTTP Client. I need two separate files for client and the server. Both application and the source code are required. Please make sure to add the developer comments in the source code.