Multiple clients can be connected to a centralized server in order solve math expressions. The main idea with this project is to test the new features coming in Project Loom
- OpenJDK 20
mvn clean package
In order to run the server you need to execute the flow command:
java --enable-preview -jar server/target/server-1.0-SNAPSHOT.jar
- can expecify the server port exporting the enviroment variable PORT
In order to run the client you need to execute the flow command:
java --enable-preview -jar client/target/client-1.0-SNAPSHOT.jar -s localhost -p 5000
usage: Usage:
-p,--port <arg> Set the server port
-s,--server <arg> Set the server hostname
mvn test