To build the application the Maven build tool is needed.
To build an executable jar file, enter the following: mvn clean compile package
.
After the build process is complete the resulting jar file will be placed in the target directory.
This application requires Java runtime.
To run the application, enter the following: java -jar <path-to-jar>
.
Where <path-to-jar> is an absolute or a relative path to the applications jar file.
- Establish a TCP connection with the server.
- Send a UTF-8 encoded message that represents a clients username.
- All further sent UTF-8 encoded messages after the first one will be interpreted as messages from the provided username.