VMs, containers, AI, databases, storage | build anything. No commitment to start.
Start your project in minutes. After credits run out, 20+ products include free monthly usage. Only pay when you're ready to scale with Google Cloud.
Start Building Free
99.99% Uptime for MySQL and PostgreSQL on Google Cloud
Enterprise Plus edition delivers sub-second maintenance downtime and 2x read/write performance. Built for critical apps.
Cloud SQL Enterprise Plus gives you a 99.99% availability SLA with near-zero downtime maintenance—typically under 10 seconds. Get 2x better read/write performance, intelligent data caching, and 35 days of point-in-time recovery. Supports MySQL, PostgreSQL, and SQL Server with built-in vector search for gen AI apps. New customers get $300 in free credit.
...The multi-threading part aims to show how to avoid blocking methods by putting them in separate thread, therefor, the ExecutorService was not used. Two Runnable interfaces are available in the server and the client to show how the dialog is managed.
The Socket part aims to show how simple communication using TCP/IP are quite simple. The system shows how to exchange and process String over network. This is not sufficient when talking about large applications, but, let's not forget that HTTP uses Strings.
The project contains both the Server and the Client. The main method in the Main class does nothing. ...
During the COO-POO course, we are developing a chat application using Java. The main goals are enhancing our knowledge of Object-Oriented Design & Programming, Java the language and the eco-system, UDP/TCP transport protocols , and discover challenges and techniques of developing standalone peer-to-peer application.