oclay1st / JavaEvaluator

Remote math evaluator written in Java Virtual Threads

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool


Logo

JavaEvaluator

Math expressions evaluator written in Java

About

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

Requirements:

  • OpenJDK 20

Packaging:

mvn clean package

Running on a local machine:

Server:

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

Client:

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

Running tests

mvn test

About

Remote math evaluator written in Java Virtual Threads

License:MIT License


Languages

Language:Java 100.0%