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
- Host: GitHub
- URL: https://github.com/oclay1st/javaevaluator
- Owner: oclay1st
- License: mit
- Created: 2023-02-11T19:15:46.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-13T03:02:39.000Z (over 3 years ago)
- Last Synced: 2025-01-21T06:26:56.145Z (over 1 year ago)
- Topics: java, project-loom, virtual-threads
- Language: Java
- Homepage:
- Size: 25.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
### 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