A simple chat application written in Java RMI.
This is a course work project for COMP4073 - Distributed Computing Systems, and it is far from finish. Please read its code and use it for learning purposes only.
-
Database (MariaDB) for persistent storage
-
Account system (login & register with username and password)
-
Friend list & group list
-
Sending & responding friend invitations
-
Sending & receiving files
-
Online users list
-
Seperated message areas for different friends and groups
-
Storing passwords after encryption
-
SSL transmission (maybe by utilizing custom socket factory?)
-
Anti SQL injection
-
Sending & receiving images
-
Sending & receiving files in small pieces, but not the whole file (to save memory when sending large files)
-
MariaDB database running on
localhost:3306
with accountroot
and empty password. -
JDK 8 x64
-
Java IDE (recommendations: Visual Studio Code, Eclipse 2020)