An open API service indexing awesome lists of open source software.

https://github.com/oclay1st/javaevaluator

Remote math evaluator written in Java Virtual Threads
https://github.com/oclay1st/javaevaluator

java project-loom virtual-threads

Last synced: over 1 year ago
JSON representation

Remote math evaluator written in Java Virtual Threads

Awesome Lists containing this project

README

          





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 Set the server port
-s,--server Set the server hostname

### Running tests

mvn test