Skip to content

Remote math evaluator written in Java Virtual Threads

License

Notifications You must be signed in to change notification settings

oclay1st/JavaEvaluator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages